#3F1370#3F1370

#3F1370 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.146 H 299.0°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#3F1370
RGBrgb(63, 19, 112)
HSLhsl(268, 71%, 26%)
HSVhsv(268, 83%, 44%)
CMYKcmyk(43.7%, 83%, 0%, 56.1%)
CIE-LABlab(18.77, 40.04, -44.65)
CIE-LCHlch(18.77, 59.97, 311.88°)
OKLaboklab(31.8% 0.0709 -0.1277)
OKLCHoklch(31.8% 0.146 299)
XYZxyz(5.2067, 2.6923, 15.5714)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1370 #447013
analogous
#131670 #3F1370 #6D1370
triadic
#3F1370 #703F13 #13703F
tetradic
#3F1370 #701316 #447013 #13706D
square
#3F1370 #701316 #447013 #13706D
split-complementary
#3F1370 #706D13 #167013
monochromatic
#0F041A #220A3C #3F1370 #5C1CA4 #7A25D9

Accessibility & contrast

On white

13.65
#3F1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3F1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1370
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1370#FFFFFF#000000##FFFFFF
##3F13701.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#332D42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1370;
/* rgb */ color: rgb(63, 19, 112);
/* oklch */ color: oklch(31.8% 0.146 299.0);
Tailwind
colors: {
  custom: {
    50: '#7a579a',
    500: '#3f1370',
    950: '#000000',
  },
}
SCSS
$custom: #3f1370;
$custom-light: #7a579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1370",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 268.387,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31801,
    "c": 0.14609,
    "h": 299
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#3F1370
secondary
#72A738
accent
#EE3A99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1370

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

Preview Lab → · Contrast checker → · Palette generator →

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