#3E1E65#3E1E65

#3E1E65 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.1% C 0.119 H 300.5°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#3E1E65
RGBrgb(62, 30, 101)
HSLhsl(267, 54%, 26%)
HSVhsv(267, 70%, 40%)
CMYKcmyk(38.6%, 70.3%, 0%, 60.4%)
CIE-LABlab(19.61, 31.33, -36.11)
CIE-LCHlch(19.61, 47.80, 310.95°)
OKLaboklab(32.06% 0.0604 -0.1028)
OKLCHoklch(32.06% 0.119 300.5)
XYZxyz(4.7993, 2.8922, 12.6148)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E65 #45651E
analogous
#1E2265 #3E1E65 #611E65
triadic
#3E1E65 #653E1E #1E653E
tetradic
#3E1E65 #651E22 #45651E #1E6561
square
#3E1E65 #651E22 #45651E #1E6561
split-complementary
#3E1E65 #65611E #22651E
monochromatic
#0E0718 #211036 #3E1E65 #5B2C94 #783AC3

Accessibility & contrast

On white

13.30
#3E1E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3E1E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E65
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E65#FFFFFF#000000##FFFFFF
##3E1E651.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002F63
Tritanopia (blue-blind)
#352E3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1e65;
/* rgb */ color: rgb(62, 30, 101);
/* oklch */ color: oklch(32.1% 0.119 300.5);
Tailwind
colors: {
  custom: {
    50: '#775c91',
    500: '#3e1e65',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e65;
$custom-light: #775c91;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e65",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 267.042,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32064,
    "c": 0.11923,
    "h": 300.5
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#3E1E65
secondary
#749A45
accent
#DE4A9B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1E65

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

Preview Lab → · Contrast checker → · Palette generator →

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