#3F2091#3F2091

#3F2091 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.171 H 287.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#3F2091
RGBrgb(63, 32, 145)
HSLhsl(256, 64%, 35%)
HSVhsv(256, 78%, 57%)
CMYKcmyk(56.6%, 77.9%, 0%, 43.1%)
CIE-LABlab(24.11, 43.24, -56.77)
CIE-LCHlch(24.11, 71.36, 307.29°)
OKLaboklab(36.52% 0.0502 -0.1634)
OKLCHoklch(36.52% 0.171 287.1)
XYZxyz(7.6757, 4.1337, 27.1760)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2091 #729120
analogous
#203A91 #3F2091 #782091
triadic
#3F2091 #913F20 #20913F
tetradic
#3F2091 #91203A #729120 #209178
square
#3F2091 #91203A #729120 #209178
split-complementary
#3F2091 #917820 #3A9120
monochromatic
#130A2D #29155F #3F2091 #552BC3 #7752D9

Accessibility & contrast

On white

11.50
#3F2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3F2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2091
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2091#FFFFFF#000000##FFFFFF
##3F20911.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#1B4057
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f2091;
/* rgb */ color: rgb(63, 32, 145);
/* oklch */ color: oklch(36.5% 0.171 287.1);
Tailwind
colors: {
  custom: {
    50: '#7e5fb2',
    500: '#3f2091',
    950: '#000000',
  },
}
SCSS
$custom: #3f2091;
$custom-light: #7e5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2091",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 256.46,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.17093,
    "h": 287.1
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#3F2091
secondary
#9FBC51
accent
#E741B9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2091

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

Preview Lab → · Contrast checker → · Palette generator →

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