#3E1370#3E1370

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

Color values

HEX#3E1370
RGBrgb(62, 19, 112)
HSLhsl(268, 71%, 26%)
HSVhsv(268, 83%, 44%)
CMYKcmyk(44.6%, 83%, 0%, 56.1%)
CIE-LABlab(18.63, 39.87, -44.88)
CIE-LCHlch(18.63, 60.04, 311.62°)
OKLaboklab(31.67% 0.0692 -0.1285)
OKLCHoklch(31.67% 0.146 298.3)
XYZxyz(5.1434, 2.6596, 15.5685)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1370 #457013
analogous
#131670 #3E1370 #6C1370
triadic
#3E1370 #703E13 #13703E
tetradic
#3E1370 #701316 #457013 #13706C
square
#3E1370 #701316 #457013 #13706C
split-complementary
#3E1370 #706C13 #167013
monochromatic
#0E041A #210A3C #3E1370 #5B1CA4 #7825D9

Accessibility & contrast

On white

13.71
#3E1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3E1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1370
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1370#FFFFFF#000000##FFFFFF
##3E13701.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#312D42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1370;
/* rgb */ color: rgb(62, 19, 112);
/* oklch */ color: oklch(31.7% 0.146 298.3);
Tailwind
colors: {
  custom: {
    50: '#79579a',
    500: '#3e1370',
    950: '#000000',
  },
}
SCSS
$custom: #3e1370;
$custom-light: #79579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1370",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 267.742,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31672,
    "c": 0.14595,
    "h": 298.3
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#3E1370
secondary
#74A738
accent
#EE3A9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1370

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

Preview Lab → · Contrast checker → · Palette generator →

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