#3F2B86#3F2B86

#3F2B86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.144 H 287.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#3F2B86
RGBrgb(63, 43, 134)
HSLhsl(253, 51%, 35%)
HSVhsv(253, 68%, 53%)
CMYKcmyk(53%, 67.9%, 0%, 47.5%)
CIE-LABlab(25.28, 33.80, -48.01)
CIE-LCHlch(25.28, 58.72, 305.14°)
OKLaboklab(37.04% 0.0427 -0.1378)
OKLCHoklch(37.04% 0.144 287.2)
XYZxyz(7.2156, 4.5054, 23.0391)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B86 #72862B
analogous
#2B4586 #3F2B86 #6D2B86
triadic
#3F2B86 #863F2B #2B863F
tetradic
#3F2B86 #862B45 #72862B #2B866D
square
#3F2B86 #862B45 #72862B #2B866D
split-complementary
#3F2B86 #866D2B #45862B
monochromatic
#130D29 #291C58 #3F2B86 #553AB4 #7760CC

Accessibility & contrast

On white

11.05
#3F2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B86
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B86#FFFFFF#000000##FFFFFF
##3F2B861.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#244254
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2b86;
/* rgb */ color: rgb(63, 43, 134);
/* oklch */ color: oklch(37.0% 0.144 287.2);
Tailwind
colors: {
  custom: {
    50: '#7b66aa',
    500: '#3f2b86',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b86;
$custom-light: #7b66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b86",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 253.187,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37035,
    "c": 0.14423,
    "h": 287.2
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#3F2B86
secondary
#9FB25B
accent
#DB4DBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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