#3E1064#3E1064

#3E1064 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.136 H 303.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#3E1064
RGBrgb(62, 16, 100)
HSLhsl(273, 72%, 23%)
HSVhsv(273, 84%, 39%)
CMYKcmyk(38%, 84%, 0%, 60.8%)
CIE-LABlab(17.06, 38.00, -39.59)
CIE-LCHlch(17.06, 54.88, 313.83°)
OKLaboklab(30.23% 0.0756 -0.1129)
OKLCHoklch(30.23% 0.136 303.8)
XYZxyz(4.4716, 2.3148, 12.2653)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1064 #366410
analogous
#141064 #3E1064 #641060
triadic
#3E1064 #643E10 #10643E
tetradic
#3E1064 #641410 #366410 #106064
square
#3E1064 #641410 #366410 #106064
split-complementary
#3E1064 #606410 #106414
monochromatic
#10041A #1D082F #3E1064 #5F1899 #7F21CE

Accessibility & contrast

On white

14.35
#3E1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1064
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1064#FFFFFF#000000##FFFFFF
##3E10641.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#36273A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e1064;
/* rgb */ color: rgb(62, 16, 100);
/* oklch */ color: oklch(30.2% 0.136 303.8);
Tailwind
colors: {
  custom: {
    50: '#785591',
    500: '#3e1064',
    950: '#000000',
  },
}
SCSS
$custom: #3e1064;
$custom-light: #785591;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1064",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 272.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30232,
    "c": 0.13589,
    "h": 303.8
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#3E1064
secondary
#639D33
accent
#EF398B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1064

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

Preview Lab → · Contrast checker → · Palette generator →

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