#3F2E76#3F2E76

#3F2E76 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.118 H 290.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3F2E76
RGBrgb(63, 46, 118)
HSLhsl(254, 44%, 32%)
HSVhsv(254, 61%, 46%)
CMYKcmyk(46.6%, 61%, 0%, 53.7%)
CIE-LABlab(24.70, 26.89, -38.86)
CIE-LCHlch(24.70, 47.25, 304.68°)
OKLaboklab(36.21% 0.0406 -0.1108)
OKLCHoklch(36.21% 0.118 290.1)
XYZxyz(6.2960, 4.3185, 17.6379)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E76 #65762E
analogous
#2E4176 #3F2E76 #632E76
triadic
#3F2E76 #763F2E #2E763F
tetradic
#3F2E76 #762E41 #65762E #2E7663
square
#3F2E76 #762E41 #65762E #2E7663
split-complementary
#3F2E76 #76632E #41762E
monochromatic
#100C1E #271D4A #3F2E76 #573FA2 #755EC0

Accessibility & contrast

On white

11.27
#3F2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3F2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E76
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E76#FFFFFF#000000##FFFFFF
##3F2E761.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#2F3E4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2e76;
/* rgb */ color: rgb(63, 46, 118);
/* oklch */ color: oklch(36.2% 0.118 290.1);
Tailwind
colors: {
  custom: {
    50: '#79679e',
    500: '#3f2e76',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e76;
$custom-light: #79679e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e76",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 254.167,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36211,
    "c": 0.11803,
    "h": 290.1
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#3F2E76
secondary
#95A759
accent
#D454B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3F2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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