#3E0D5E#3E0D5E

#3E0D5E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.133 H 307.1°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#3E0D5E
RGBrgb(62, 13, 94)
HSLhsl(276, 76%, 21%)
HSVhsv(276, 86%, 37%)
CMYKcmyk(34%, 86.2%, 0%, 63.1%)
CIE-LABlab(16.11, 37.69, -37.16)
CIE-LCHlch(16.11, 52.93, 315.40°)
OKLaboklab(29.4% 0.08 -0.1058)
OKLCHoklch(29.4% 0.133 307.1)
XYZxyz(4.1505, 2.1202, 10.7781)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D5E #2D5E0D
analogous
#150D5E #3E0D5E #5E0D55
triadic
#3E0D5E #5E3E0D #0D5E3E
tetradic
#3E0D5E #5E150D #2D5E0D #0D555E
square
#3E0D5E #5E150D #2D5E0D #0D555E
split-complementary
#3E0D5E #555E0D #0D5E15
monochromatic
#12041B #1B0628 #3E0D5E #611494 #851CCA

Accessibility & contrast

On white

14.75
#3E0D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D5E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D5E#FFFFFF#000000##FFFFFF
##3E0D5E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#382336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0d5e;
/* rgb */ color: rgb(62, 13, 94);
/* oklch */ color: oklch(29.4% 0.133 307.1);
Tailwind
colors: {
  custom: {
    50: '#77538c',
    500: '#3e0d5e',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d5e;
$custom-light: #77538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d5e",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 276.296,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29397,
    "c": 0.13259,
    "h": 307.1
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#3E0D5E
secondary
#58982F
accent
#F23680
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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