#3F1473#3F1473

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

Color values

HEX#3F1473
RGBrgb(63, 20, 115)
HSLhsl(267, 70%, 26%)
HSVhsv(267, 83%, 45%)
CMYKcmyk(45.2%, 82.6%, 0%, 54.9%)
CIE-LABlab(19.20, 40.41, -45.87)
CIE-LCHlch(19.20, 61.13, 311.37°)
OKLaboklab(32.19% 0.0691 -0.1314)
OKLCHoklch(32.19% 0.148 297.7)
XYZxyz(5.3938, 2.7948, 16.4716)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1473 #487314
analogous
#141973 #3F1473 #6F1473
triadic
#3F1473 #733F14 #14733F
tetradic
#3F1473 #731419 #487314 #14736F
square
#3F1473 #731419 #487314 #14736F
split-complementary
#3F1473 #736F14 #197314
monochromatic
#0E051A #220B3F #3F1473 #5C1DA7 #7828DA

Accessibility & contrast

On white

13.47
#3F1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1473
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1473#FFFFFF#000000##FFFFFF
##3F14731.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1473;
/* rgb */ color: rgb(63, 20, 115);
/* oklch */ color: oklch(32.2% 0.148 297.7);
Tailwind
colors: {
  custom: {
    50: '#7a589c',
    500: '#3f1473',
    950: '#000000',
  },
}
SCSS
$custom: #3f1473;
$custom-light: #7a589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1473",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 267.158,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.14841,
    "h": 297.7
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#3F1473
secondary
#77A93A
accent
#ED3B9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1473

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

Preview Lab → · Contrast checker → · Palette generator →

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