#3F2F85#3F2F85

#3F2F85 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.137 H 286.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3F2F85
RGBrgb(63, 47, 133)
HSLhsl(251, 48%, 35%)
HSVhsv(251, 65%, 52%)
CMYKcmyk(52.6%, 64.7%, 0%, 47.8%)
CIE-LABlab(26.11, 31.03, -46.04)
CIE-LCHlch(26.11, 55.52, 303.98°)
OKLaboklab(37.61% 0.0386 -0.132)
OKLCHoklch(37.61% 0.137 286.3)
XYZxyz(7.2988, 4.7829, 22.7244)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F85 #75852F
analogous
#2F4A85 #3F2F85 #6A2F85
triadic
#3F2F85 #853F2F #2F853F
tetradic
#3F2F85 #852F4A #75852F #2F856A
square
#3F2F85 #852F4A #75852F #2F856A
split-complementary
#3F2F85 #856A2F #4A852F
monochromatic
#140F2B #2A1F58 #3F2F85 #543FB2 #7866C9

Accessibility & contrast

On white

10.73
#3F2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F85
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F85#FFFFFF#000000##FFFFFF
##3F2F851.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#254455
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2f85;
/* rgb */ color: rgb(63, 47, 133);
/* oklch */ color: oklch(37.6% 0.137 286.3);
Tailwind
colors: {
  custom: {
    50: '#7b68a9',
    500: '#3f2f85',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f85;
$custom-light: #7b68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f85",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 251.163,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37611,
    "c": 0.13747,
    "h": 286.3
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#3F2F85
secondary
#A1B060
accent
#D750BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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