#3F2F72#3F2F72

#3F2F72 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.111 H 290.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#3F2F72
RGBrgb(63, 47, 114)
HSLhsl(254, 42%, 32%)
HSVhsv(254, 59%, 45%)
CMYKcmyk(44.7%, 58.8%, 0%, 55.3%)
CIE-LABlab(24.65, 24.99, -36.38)
CIE-LCHlch(24.65, 44.13, 304.48°)
OKLaboklab(36.09% 0.0393 -0.1035)
OKLCHoklch(36.09% 0.111 290.8)
XYZxyz(6.1028, 4.3045, 16.4256)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F72 #62722F
analogous
#2F4172 #3F2F72 #612F72
triadic
#3F2F72 #723F2F #2F723F
tetradic
#3F2F72 #722F41 #62722F #2F7261
square
#3F2F72 #722F41 #62722F #2F7261
split-complementary
#3F2F72 #72612F #41722F
monochromatic
#0F0B1B #271D47 #3F2F72 #57419D #755FBD

Accessibility & contrast

On white

11.28
#3F2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2F72
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F72#FFFFFF#000000##FFFFFF
##3F2F721.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#0E3971
Tritanopia (blue-blind)
#313D4B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2f72;
/* rgb */ color: rgb(63, 47, 114);
/* oklch */ color: oklch(36.1% 0.111 290.8);
Tailwind
colors: {
  custom: {
    50: '#78689b',
    500: '#3f2f72',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f72;
$custom-light: #78689b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f72",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 254.328,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36085,
    "c": 0.11075,
    "h": 290.8
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#3F2F72
secondary
#92A35A
accent
#D156B4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3F2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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