#3E0F5D#3E0F5D

#3E0F5D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.129 H 307.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#3E0F5D
RGBrgb(62, 15, 93)
HSLhsl(276, 72%, 21%)
HSVhsv(276, 84%, 36%)
CMYKcmyk(33.3%, 83.9%, 0%, 63.5%)
CIE-LABlab(16.29, 36.66, -36.20)
CIE-LCHlch(16.29, 51.52, 315.36°)
OKLaboklab(29.49% 0.0785 -0.1029)
OKLCHoklch(29.49% 0.129 307.3)
XYZxyz(4.1328, 2.1561, 10.5523)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F5D #2E5D0F
analogous
#170F5D #3E0F5D #5D0F55
triadic
#3E0F5D #5D3E0F #0F5D3E
tetradic
#3E0F5D #5D170F #2E5D0F #0F555D
square
#3E0F5D #5D170F #2E5D0F #0F555D
split-complementary
#3E0F5D #555D0F #0F5D17
monochromatic
#12041A #1B0628 #3E0F5D #611792 #8420C6

Accessibility & contrast

On white

14.67
#3E0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E0F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F5D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F5D#FFFFFF#000000##FFFFFF
##3E0F5D1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#392336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0f5d;
/* rgb */ color: rgb(62, 15, 93);
/* oklch */ color: oklch(29.5% 0.129 307.3);
Tailwind
colors: {
  custom: {
    50: '#77548c',
    500: '#3e0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f5d;
$custom-light: #77548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f5d",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 276.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.12946,
    "h": 307.3
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#3E0F5D
secondary
#5A9631
accent
#EF3981
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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