#3F1373#3F1373

#3F1373 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.149 H 297.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#3F1373
RGBrgb(63, 19, 115)
HSLhsl(268, 72%, 26%)
HSVhsv(268, 83%, 45%)
CMYKcmyk(45.2%, 83.5%, 0%, 54.9%)
CIE-LABlab(19.06, 40.83, -46.11)
CIE-LCHlch(19.06, 61.59, 311.52°)
OKLaboklab(32.09% 0.0699 -0.132)
OKLCHoklch(32.09% 0.149 297.9)
XYZxyz(5.3765, 2.7602, 16.4658)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1373 #477313
analogous
#131773 #3F1373 #6F1373
triadic
#3F1373 #733F13 #13733F
tetradic
#3F1373 #731317 #477313 #13736F
square
#3F1373 #731317 #477313 #13736F
split-complementary
#3F1373 #736F13 #177313
monochromatic
#0E041A #220A3E #3F1373 #5C1CA8 #7925DB

Accessibility & contrast

On white

13.53
#3F1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3F1373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1373
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1373#FFFFFF#000000##FFFFFF
##3F13731.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#312E43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1373;
/* rgb */ color: rgb(63, 19, 115);
/* oklch */ color: oklch(32.1% 0.149 297.9);
Tailwind
colors: {
  custom: {
    50: '#7a579c',
    500: '#3f1373',
    950: '#000000',
  },
}
SCSS
$custom: #3f1373;
$custom-light: #7a579c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1373",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 267.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32092,
    "c": 0.1494,
    "h": 297.9
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#3F1373
secondary
#76AA38
accent
#EE399B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1373

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

Preview Lab → · Contrast checker → · Palette generator →

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