#3F2B90#3F2B90

#3F2B90 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.157 H 285.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3F2B90
RGBrgb(63, 43, 144)
HSLhsl(252, 54%, 37%)
HSVhsv(252, 70%, 56%)
CMYKcmyk(56.3%, 70.1%, 0%, 43.5%)
CIE-LABlab(26.15, 36.95, -52.80)
CIE-LCHlch(26.15, 64.45, 304.98°)
OKLaboklab(37.93% 0.0412 -0.1518)
OKLCHoklch(37.93% 0.157 285.2)
XYZxyz(7.9463, 4.7977, 26.8875)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B90 #7C902B
analogous
#2B4A90 #3F2B90 #722B90
triadic
#3F2B90 #903F2B #2B903F
tetradic
#3F2B90 #902B4A #7C902B #2B9072
square
#3F2B90 #902B4A #7C902B #2B9072
split-complementary
#3F2B90 #90722B #4A902B
monochromatic
#160F32 #2A1D61 #3F2B90 #5439BF #7A65D1

Accessibility & contrast

On white

10.72
#3F2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2B90
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B90#FFFFFF#000000##FFFFFF
##3F2B901.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#1B455A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2b90;
/* rgb */ color: rgb(63, 43, 144);
/* oklch */ color: oklch(37.9% 0.157 285.2);
Tailwind
colors: {
  custom: {
    50: '#7d66b1',
    500: '#3f2b90',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b90;
$custom-light: #7d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b90",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 251.881,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.15731,
    "h": 285.2
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#3F2B90
secondary
#A6B760
accent
#DD4AC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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