#3F2491#3F2491

#3F2491 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.167 H 286.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3F2491
RGBrgb(63, 36, 145)
HSLhsl(255, 60%, 35%)
HSVhsv(255, 75%, 57%)
CMYKcmyk(56.6%, 75.2%, 0%, 43.1%)
CIE-LABlab(24.84, 41.18, -55.58)
CIE-LCHlch(24.84, 69.17, 306.53°)
OKLaboklab(37.03% 0.0471 -0.1599)
OKLCHoklch(37.03% 0.167 286.4)
XYZxyz(7.7901, 4.3624, 27.2141)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2491 #769124
analogous
#244091 #3F2491 #752491
triadic
#3F2491 #913F24 #24913F
tetradic
#3F2491 #912440 #769124 #249175
square
#3F2491 #912440 #769124 #249175
split-complementary
#3F2491 #917524 #409124
monochromatic
#140C2F #2A1860 #3F2491 #5430C2 #7859D6

Accessibility & contrast

On white

11.21
#3F2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3F2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2491
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2491#FFFFFF#000000##FFFFFF
##3F24911.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#1A4258
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2491;
/* rgb */ color: rgb(63, 36, 145);
/* oklch */ color: oklch(37.0% 0.167 286.4);
Tailwind
colors: {
  custom: {
    50: '#7e62b2',
    500: '#3f2491',
    950: '#000000',
  },
}
SCSS
$custom: #3f2491;
$custom-light: #7e62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2491",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 254.862,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37027,
    "c": 0.16671,
    "h": 286.4
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#3F2491
secondary
#A2BA56
accent
#E344BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2491

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

Preview Lab → · Contrast checker → · Palette generator →

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