#3F1374#3F1374

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

Color values

HEX#3F1374
RGBrgb(63, 19, 116)
HSLhsl(267, 72%, 26%)
HSVhsv(267, 84%, 45%)
CMYKcmyk(45.7%, 83.6%, 0%, 54.5%)
CIE-LABlab(19.15, 41.09, -46.60)
CIE-LCHlch(19.15, 62.13, 311.41°)
OKLaboklab(32.19% 0.0695 -0.1335)
OKLCHoklch(32.19% 0.15 297.5)
XYZxyz(5.4343, 2.7834, 16.7705)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1374 #487413
analogous
#131874 #3F1374 #701374
triadic
#3F1374 #743F13 #13743F
tetradic
#3F1374 #741318 #487413 #137470
square
#3F1374 #741318 #487413 #137470
split-complementary
#3F1374 #747013 #187413
monochromatic
#0E041A #220A3F #3F1374 #5C1CA9 #7826DB

Accessibility & contrast

On white

13.49
#3F1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1374
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1374#FFFFFF#000000##FFFFFF
##3F13741.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1374;
/* rgb */ color: rgb(63, 19, 116);
/* oklch */ color: oklch(32.2% 0.150 297.5);
Tailwind
colors: {
  custom: {
    50: '#7a579d',
    500: '#3f1374',
    950: '#000000',
  },
}
SCSS
$custom: #3f1374;
$custom-light: #7a579d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1374",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 267.216,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32189,
    "c": 0.15049,
    "h": 297.5
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#3F1374
secondary
#77AA38
accent
#EF399C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1374

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

Preview Lab → · Contrast checker → · Palette generator →

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