#3F1474#3F1474

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

Color values

HEX#3F1474
RGBrgb(63, 20, 116)
HSLhsl(267, 71%, 27%)
HSVhsv(267, 83%, 45%)
CMYKcmyk(45.7%, 82.8%, 0%, 54.5%)
CIE-LABlab(19.30, 40.67, -46.36)
CIE-LCHlch(19.30, 61.67, 311.26°)
OKLaboklab(32.29% 0.0687 -0.1328)
OKLCHoklch(32.29% 0.15 297.4)
XYZxyz(5.4516, 2.8179, 16.7763)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1474 #497414
analogous
#141974 #3F1474 #6F1474
triadic
#3F1474 #743F14 #14743F
tetradic
#3F1474 #741419 #497414 #14746F
square
#3F1474 #741419 #497414 #14746F
split-complementary
#3F1474 #746F14 #197414
monochromatic
#0E051A #230B40 #3F1474 #5B1DA8 #7828DA

Accessibility & contrast

On white

13.43
#3F1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1474
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1474#FFFFFF#000000##FFFFFF
##3F14741.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#312F44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1474;
/* rgb */ color: rgb(63, 20, 116);
/* oklch */ color: oklch(32.3% 0.150 297.4);
Tailwind
colors: {
  custom: {
    50: '#7a589d',
    500: '#3f1474',
    950: '#000000',
  },
}
SCSS
$custom: #3f1474;
$custom-light: #7a589d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1474",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 266.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.14951,
    "h": 297.4
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#3F1474
secondary
#78AA3A
accent
#ED3A9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1474

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

Preview Lab → · Contrast checker → · Palette generator →

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