#3E1467#3E1467

#3E1467 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.135 H 301.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#3E1467
RGBrgb(62, 20, 103)
HSLhsl(270, 67%, 24%)
HSVhsv(270, 81%, 40%)
CMYKcmyk(39.8%, 80.6%, 0%, 59.6%)
CIE-LABlab(17.94, 37.05, -40.14)
CIE-LCHlch(17.94, 54.62, 312.71°)
OKLaboklab(30.93% 0.0711 -0.1146)
OKLCHoklch(30.93% 0.135 301.8)
XYZxyz(4.6844, 2.5037, 13.0658)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1467 #3D6714
analogous
#141467 #3E1467 #671467
triadic
#3E1467 #673E14 #14673E
tetradic
#3E1467 #671414 #3D6714 #146767
square
#3E1467 #671414 #3D6714 #146767
split-complementary
#3E1467 #676714 #146714
monochromatic
#0F051A #1F0A34 #3E1467 #5D1E9A #7C28CD

Accessibility & contrast

On white

13.99
#3E1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1467
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1467#FFFFFF#000000##FFFFFF
##3E14671.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1467;
/* rgb */ color: rgb(62, 20, 103);
/* oklch */ color: oklch(30.9% 0.135 301.8);
Tailwind
colors: {
  custom: {
    50: '#785793',
    500: '#3e1467',
    950: '#000000',
  },
}
SCSS
$custom: #3e1467;
$custom-light: #785793;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1467",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 270.361,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3093,
    "c": 0.1348,
    "h": 301.8
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#3E1467
secondary
#6B9E39
accent
#EA3D93
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1467

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

Preview Lab → · Contrast checker → · Palette generator →

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