#3E265F#3E265F

#3E265F is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.098 H 300.5°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#3E265F
RGBrgb(62, 38, 95)
HSLhsl(265, 43%, 26%)
HSVhsv(265, 60%, 37%)
CMYKcmyk(34.7%, 60%, 0%, 62.7%)
CIE-LABlab(20.97, 24.76, -29.97)
CIE-LCHlch(20.97, 38.88, 309.56°)
OKLaboklab(32.91% 0.05 -0.0848)
OKLCHoklch(32.91% 0.098 300.5)
XYZxyz(4.7448, 3.2366, 11.1990)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E265F #475F26
analogous
#262A5F #3E265F #5A265F
triadic
#3E265F #5F3E26 #265F3E
tetradic
#3E265F #5F262A #475F26 #265F5A
square
#3E265F #5F262A #475F26 #265F5A
split-complementary
#3E265F #5F5A26 #2A5F26
monochromatic
#0E0916 #211533 #3E265F #5B378B #7749B6

Accessibility & contrast

On white

12.75
#3E265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E265F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E265F#FFFFFF#000000##FFFFFF
##3E265F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3261
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#37313E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e265f;
/* rgb */ color: rgb(62, 38, 95);
/* oklch */ color: oklch(32.9% 0.098 300.5);
Tailwind
colors: {
  custom: {
    50: '#76618d',
    500: '#3e265f',
    950: '#000000',
  },
}
SCSS
$custom: #3e265f;
$custom-light: #76618d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e265f",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 265.263,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32911,
    "c": 0.09839,
    "h": 300.5
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#3E265F
secondary
#76924F
accent
#D3559E
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #3E265F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E265F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva