#3E0D5C#3E0D5C

#3E0D5C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.131 H 308.1°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#3E0D5C
RGBrgb(62, 13, 92)
HSLhsl(277, 75%, 21%)
HSVhsv(277, 86%, 36%)
CMYKcmyk(32.6%, 85.9%, 0%, 63.9%)
CIE-LABlab(15.93, 37.20, -36.12)
CIE-LCHlch(15.93, 51.85, 315.84°)
OKLaboklab(29.22% 0.0806 -0.1027)
OKLCHoklch(29.22% 0.131 308.1)
XYZxyz(4.0619, 2.0848, 10.3116)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D5C #2B5C0D
analogous
#160D5C #3E0D5C #5C0D52
triadic
#3E0D5C #5C3E0D #0D5C3E
tetradic
#3E0D5C #5C160D #2B5C0D #0D525C
square
#3E0D5C #5C160D #2B5C0D #0D525C
split-complementary
#3E0D5C #525C0D #0D5C16
monochromatic
#12041B #1A0526 #3E0D5C #621592 #861CC7

Accessibility & contrast

On white

14.82
#3E0D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D5C
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D5C#FFFFFF#000000##FFFFFF
##3E0D5C1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#392235
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0d5c;
/* rgb */ color: rgb(62, 13, 92);
/* oklch */ color: oklch(29.2% 0.131 308.1);
Tailwind
colors: {
  custom: {
    50: '#77538b',
    500: '#3e0d5c',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d5c;
$custom-light: #77538b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d5c",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 92
  },
  "hsl": {
    "h": 277.215,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29215,
    "c": 0.13052,
    "h": 308.1
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#3E0D5C
secondary
#56962F
accent
#F2367D
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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