#3F2B91#3F2B91

#3F2B91 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.159 H 285.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3F2B91
RGBrgb(63, 43, 145)
HSLhsl(252, 54%, 37%)
HSVhsv(252, 70%, 57%)
CMYKcmyk(56.6%, 70.3%, 0%, 43.1%)
CIE-LABlab(26.24, 37.26, -53.27)
CIE-LCHlch(26.24, 65.01, 304.97°)
OKLaboklab(38.03% 0.041 -0.1532)
OKLCHoklch(38.03% 0.159 285)
XYZxyz(8.0231, 4.8284, 27.2918)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B91 #7D912B
analogous
#2B4A91 #3F2B91 #722B91
triadic
#3F2B91 #913F2B #2B913F
tetradic
#3F2B91 #912B4A #7D912B #2B9172
square
#3F2B91 #912B4A #7D912B #2B9172
split-complementary
#3F2B91 #91722B #4A912B
monochromatic
#160F33 #2A1D62 #3F2B91 #5439C0 #7A65D1

Accessibility & contrast

On white

10.68
#3F2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3F2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B91
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B91#FFFFFF#000000##FFFFFF
##3F2B911.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#19465A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2b91;
/* rgb */ color: rgb(63, 43, 145);
/* oklch */ color: oklch(38.0% 0.159 285.0);
Tailwind
colors: {
  custom: {
    50: '#7d66b2',
    500: '#3f2b91',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b91;
$custom-light: #7d66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b91",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 251.765,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38026,
    "c": 0.15861,
    "h": 285
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#3F2B91
secondary
#A6B860
accent
#DE4AC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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