#3E1464#3E1464

#3E1464 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.131 H 303.1°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#3E1464
RGBrgb(62, 20, 100)
HSLhsl(272, 67%, 24%)
HSVhsv(272, 80%, 39%)
CMYKcmyk(38%, 80%, 0%, 60.8%)
CIE-LABlab(17.67, 36.26, -38.60)
CIE-LCHlch(17.67, 52.96, 313.21°)
OKLaboklab(30.66% 0.0718 -0.11)
OKLCHoklch(30.66% 0.131 303.1)
XYZxyz(4.5365, 2.4445, 12.2870)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1464 #3A6414
analogous
#161464 #3E1464 #641462
triadic
#3E1464 #643E14 #14643E
tetradic
#3E1464 #641614 #3A6414 #146264
square
#3E1464 #641614 #3A6414 #146264
split-complementary
#3E1464 #626414 #146416
monochromatic
#10051A #1E0A31 #3E1464 #5E1E97 #7D28CA

Accessibility & contrast

On white

14.10
#3E1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1464
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1464#FFFFFF#000000##FFFFFF
##3E14641.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#36283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1464;
/* rgb */ color: rgb(62, 20, 100);
/* oklch */ color: oklch(30.7% 0.131 303.1);
Tailwind
colors: {
  custom: {
    50: '#785691',
    500: '#3e1464',
    950: '#000000',
  },
}
SCSS
$custom: #3e1464;
$custom-light: #785691;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1464",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 271.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30657,
    "c": 0.13142,
    "h": 303.1
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#3E1464
secondary
#679B38
accent
#EA3E90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1464

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

Preview Lab → · Contrast checker → · Palette generator →

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