#3E0D5D#3E0D5D

#3E0D5D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.132 H 307.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#3E0D5D
RGBrgb(62, 13, 93)
HSLhsl(277, 75%, 21%)
HSVhsv(277, 86%, 36%)
CMYKcmyk(33.3%, 86%, 0%, 63.5%)
CIE-LABlab(16.02, 37.44, -36.64)
CIE-LCHlch(16.02, 52.39, 315.62°)
OKLaboklab(29.31% 0.0803 -0.1042)
OKLCHoklch(29.31% 0.132 307.6)
XYZxyz(4.1059, 2.1024, 10.5433)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D5D #2C5D0D
analogous
#160D5D #3E0D5D #5D0D54
triadic
#3E0D5D #5D3E0D #0D5D3E
tetradic
#3E0D5D #5D160D #2C5D0D #0D545D
square
#3E0D5D #5D160D #2C5D0D #0D545D
split-complementary
#3E0D5D #545D0D #0D5D16
monochromatic
#12041B #1A0527 #3E0D5D #621593 #861CC8

Accessibility & contrast

On white

14.78
#3E0D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E0D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0D5D
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D5D#FFFFFF#000000##FFFFFF
##3E0D5D1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#392236
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0d5d;
/* rgb */ color: rgb(62, 13, 93);
/* oklch */ color: oklch(29.3% 0.132 307.6);
Tailwind
colors: {
  custom: {
    50: '#77538c',
    500: '#3e0d5d',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d5d;
$custom-light: #77538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d5d",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 276.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29306,
    "c": 0.13156,
    "h": 307.6
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#3E0D5D
secondary
#57972F
accent
#F2367F
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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