#3E1D64#3E1D64

#3E1D64 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.8% C 0.119 H 301.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#3E1D64
RGBrgb(62, 29, 100)
HSLhsl(268, 55%, 25%)
HSVhsv(268, 71%, 39%)
CMYKcmyk(38%, 71%, 0%, 60.8%)
CIE-LABlab(19.32, 31.61, -35.92)
CIE-LCHlch(19.32, 47.85, 311.36°)
OKLaboklab(31.83% 0.0618 -0.1022)
OKLCHoklch(31.83% 0.119 301.2)
XYZxyz(4.7257, 2.8229, 12.3500)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D64 #43641D
analogous
#1D2064 #3E1D64 #611D64
triadic
#3E1D64 #643E1D #1D643E
tetradic
#3E1D64 #641D20 #43641D #1D6461
square
#3E1D64 #641D20 #43641D #1D6461
split-complementary
#3E1D64 #64611D #20641D
monochromatic
#0F0718 #210F35 #3E1D64 #5B2B93 #7939C3

Accessibility & contrast

On white

13.42
#3E1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3E1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D64
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D64#FFFFFF#000000##FFFFFF
##3E1D641.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#362D3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1d64;
/* rgb */ color: rgb(62, 29, 100);
/* oklch */ color: oklch(31.8% 0.119 301.2);
Tailwind
colors: {
  custom: {
    50: '#775b91',
    500: '#3e1d64',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d64;
$custom-light: #775b91;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d64",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 267.887,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31833,
    "c": 0.11943,
    "h": 301.2
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#3E1D64
secondary
#719944
accent
#DE4999
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #3E1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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