#3F1990#3F1990

#3F1990 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.176 H 288.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#3F1990
RGBrgb(63, 25, 144)
HSLhsl(259, 70%, 33%)
HSVhsv(259, 83%, 56%)
CMYKcmyk(56.3%, 82.6%, 0%, 43.5%)
CIE-LABlab(22.88, 46.21, -58.17)
CIE-LCHlch(22.88, 74.29, 308.46°)
OKLaboklab(35.63% 0.0554 -0.1674)
OKLCHoklch(35.63% 0.176 288.3)
XYZxyz(7.4301, 3.7653, 26.7154)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1990 #6A9019
analogous
#192E90 #3F1990 #7A1990
triadic
#3F1990 #903F19 #19903F
tetradic
#3F1990 #90192E #6A9019 #19907A
square
#3F1990 #90192E #6A9019 #19907A
split-complementary
#3F1990 #907A19 #2E9019
monochromatic
#110728 #28105C #3F1990 #5622C4 #7645DF

Accessibility & contrast

On white

11.98
#3F1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3F1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1990
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1990#FFFFFF#000000##FFFFFF
##3F19901.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#1C3D55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f1990;
/* rgb */ color: rgb(63, 25, 144);
/* oklch */ color: oklch(35.6% 0.176 288.3);
Tailwind
colors: {
  custom: {
    50: '#7e5cb2',
    500: '#3f1990',
    950: '#000000',
  },
}
SCSS
$custom: #3f1990;
$custom-light: #7e5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1990",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 259.16,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35631,
    "c": 0.17635,
    "h": 288.3
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#3F1990
secondary
#99C045
accent
#ED3BB4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3F1990

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

Preview Lab → · Contrast checker → · Palette generator →

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