#3F1375#3F1375

#3F1375 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.152 H 297.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#3F1375
RGBrgb(63, 19, 117)
HSLhsl(267, 72%, 27%)
HSVhsv(267, 84%, 46%)
CMYKcmyk(46.2%, 83.8%, 0%, 54.1%)
CIE-LABlab(19.25, 41.36, -47.08)
CIE-LCHlch(19.25, 62.67, 311.30°)
OKLaboklab(32.29% 0.0692 -0.1349)
OKLCHoklch(32.29% 0.152 297.2)
XYZxyz(5.4928, 2.8067, 17.0785)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1375 #497513
analogous
#131875 #3F1375 #701375
triadic
#3F1375 #753F13 #13753F
tetradic
#3F1375 #751318 #497513 #137570
square
#3F1375 #751318 #497513 #137570
split-complementary
#3F1375 #757013 #187513
monochromatic
#0E041A #230A40 #3F1375 #5B1CAA #7827DC

Accessibility & contrast

On white

13.45
#3F1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3F1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1375
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1375#FFFFFF#000000##FFFFFF
##3F13751.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#302F45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1375;
/* rgb */ color: rgb(63, 19, 117);
/* oklch */ color: oklch(32.3% 0.152 297.2);
Tailwind
colors: {
  custom: {
    50: '#7a579e',
    500: '#3f1375',
    950: '#000000',
  },
}
SCSS
$custom: #3f1375;
$custom-light: #7a579e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1375",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 266.939,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32288,
    "c": 0.1516,
    "h": 297.2
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#3F1375
secondary
#78AB38
accent
#EF399D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1375

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

Preview Lab → · Contrast checker → · Palette generator →

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