#3F1889#3F1889

#3F1889 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.169 H 290.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#3F1889
RGBrgb(63, 24, 137)
HSLhsl(261, 70%, 32%)
HSVhsv(261, 82%, 54%)
CMYKcmyk(54%, 82.5%, 0%, 46.3%)
CIE-LABlab(22.00, 44.69, -55.26)
CIE-LCHlch(22.00, 71.06, 308.96°)
OKLaboklab(34.8% 0.0585 -0.1589)
OKLCHoklch(34.8% 0.169 290.2)
XYZxyz(6.8906, 3.5159, 23.9776)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1889 #628918
analogous
#182A89 #3F1889 #781889
triadic
#3F1889 #893F18 #18893F
tetradic
#3F1889 #89182A #628918 #188978
square
#3F1889 #89182A #628918 #188978
split-complementary
#3F1889 #897818 #2A8918
monochromatic
#0F0621 #270F55 #3F1889 #5721BD #753EDD

Accessibility & contrast

On white

12.33
#3F1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3F1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1889
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1889#FFFFFF#000000##FFFFFF
##3F18891.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#233951
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f1889;
/* rgb */ color: rgb(63, 24, 137);
/* oklch */ color: oklch(34.8% 0.169 290.2);
Tailwind
colors: {
  custom: {
    50: '#7d5bad',
    500: '#3f1889',
    950: '#000000',
  },
}
SCSS
$custom: #3f1889;
$custom-light: #7d5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1889",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 260.708,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34804,
    "c": 0.16932,
    "h": 290.2
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#3F1889
secondary
#92BD40
accent
#ED3BAF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #3F1889

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

Preview Lab → · Contrast checker → · Palette generator →

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