#3F1590#3F1590

#3F1590 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.180 H 288.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#3F1590
RGBrgb(63, 21, 144)
HSLhsl(260, 75%, 32%)
HSVhsv(260, 85%, 56%)
CMYKcmyk(56.3%, 85.4%, 0%, 43.5%)
CIE-LABlab(22.32, 47.83, -59.09)
CIE-LCHlch(22.32, 76.02, 308.99°)
OKLaboklab(35.25% 0.0578 -0.17)
OKLCHoklch(35.25% 0.18 288.8)
XYZxyz(7.3506, 3.6063, 26.6889)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1590 #669015
analogous
#152890 #3F1590 #7D1590
triadic
#3F1590 #903F15 #15903F
tetradic
#3F1590 #901528 #669015 #15907D
square
#3F1590 #901528 #669015 #15907D
split-complementary
#3F1590 #907D15 #289015
monochromatic
#100525 #280D5B #3F1590 #561DC5 #753DE3

Accessibility & contrast

On white

12.20
#3F1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3F1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1590
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1590#FFFFFF#000000##FFFFFF
##3F15901.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#1D3B55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f1590;
/* rgb */ color: rgb(63, 21, 144);
/* oklch */ color: oklch(35.2% 0.180 288.8);
Tailwind
colors: {
  custom: {
    50: '#7f5ab2',
    500: '#3f1590',
    950: '#000000',
  },
}
SCSS
$custom: #3f1590;
$custom-light: #7f5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1590",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 260.488,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.17961,
    "h": 288.8
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#3F1590
secondary
#95C23E
accent
#F137B1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3F1590

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

Preview Lab → · Contrast checker → · Palette generator →

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