#3E1367#3E1367

#3E1367 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.136 H 302.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#3E1367
RGBrgb(62, 19, 103)
HSLhsl(271, 69%, 24%)
HSVhsv(271, 82%, 40%)
CMYKcmyk(39.8%, 81.6%, 0%, 59.6%)
CIE-LABlab(17.78, 37.50, -40.40)
CIE-LCHlch(17.78, 55.12, 312.87°)
OKLaboklab(30.82% 0.072 -0.1153)
OKLCHoklch(30.82% 0.136 302)
XYZxyz(4.6671, 2.4691, 13.0600)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1367 #3C6713
analogous
#141367 #3E1367 #671366
triadic
#3E1367 #673E13 #13673E
tetradic
#3E1367 #671413 #3C6713 #136667
square
#3E1367 #671413 #3C6713 #136667
split-complementary
#3E1367 #666713 #136714
monochromatic
#10051A #1F0933 #3E1367 #5D1D9B #7C26CE

Accessibility & contrast

On white

14.06
#3E1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1367
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1367#FFFFFF#000000##FFFFFF
##3E13671.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#35293D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1367;
/* rgb */ color: rgb(62, 19, 103);
/* oklch */ color: oklch(30.8% 0.136 302.0);
Tailwind
colors: {
  custom: {
    50: '#785693',
    500: '#3e1367',
    950: '#000000',
  },
}
SCSS
$custom: #3e1367;
$custom-light: #785693;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1367",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 270.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3082,
    "c": 0.13594,
    "h": 302
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#3E1367
secondary
#6A9E37
accent
#EC3C92
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1367

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

Preview Lab → · Contrast checker → · Palette generator →

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