#3F1885#3F1885

#3F1885 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.165 H 291.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#3F1885
RGBrgb(63, 24, 133)
HSLhsl(261, 69%, 31%)
HSVhsv(261, 82%, 52%)
CMYKcmyk(52.6%, 82%, 0%, 47.8%)
CIE-LABlab(21.59, 43.57, -53.42)
CIE-LCHlch(21.59, 68.94, 309.20°)
OKLaboklab(34.4% 0.0599 -0.1535)
OKLCHoklch(34.4% 0.165 291.3)
XYZxyz(6.6090, 3.4032, 22.4944)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1885 #5E8518
analogous
#182785 #3F1885 #751885
triadic
#3F1885 #853F18 #18853F
tetradic
#3F1885 #851827 #5E8518 #188575
square
#3F1885 #851827 #5E8518 #188575
split-complementary
#3F1885 #857518 #278518
monochromatic
#0E051D #260F51 #3F1885 #5821B9 #753CDC

Accessibility & contrast

On white

12.50
#3F1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3F1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1885
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1885#FFFFFF#000000##FFFFFF
##3F18851.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#26384F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f1885;
/* rgb */ color: rgb(63, 24, 133);
/* oklch */ color: oklch(34.4% 0.165 291.3);
Tailwind
colors: {
  custom: {
    50: '#7d5baa',
    500: '#3f1885',
    950: '#000000',
  },
}
SCSS
$custom: #3f1885;
$custom-light: #7d5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1885",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 261.468,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34396,
    "c": 0.16479,
    "h": 291.3
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#3F1885
secondary
#8EB940
accent
#EC3CAD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1885

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

Preview Lab → · Contrast checker → · Palette generator →

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