#3E0D60#3E0D60

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

Color values

HEX#3E0D60
RGBrgb(62, 13, 96)
HSLhsl(275, 76%, 21%)
HSVhsv(275, 86%, 38%)
CMYKcmyk(35.4%, 86.5%, 0%, 62.4%)
CIE-LABlab(16.29, 38.18, -38.20)
CIE-LCHlch(16.29, 54.01, 314.98°)
OKLaboklab(29.58% 0.0794 -0.1088)
OKLCHoklch(29.58% 0.135 306.1)
XYZxyz(4.2414, 2.1565, 11.2569)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D60 #2F600D
analogous
#150D60 #3E0D60 #600D59
triadic
#3E0D60 #603E0D #0D603E
tetradic
#3E0D60 #60150D #2F600D #0D5960
square
#3E0D60 #60150D #2F600D #0D5960
split-complementary
#3E0D60 #59600D #0D6015
monochromatic
#11041B #1B062A #3E0D60 #611496 #841CCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E0D60#FFFFFF#000000##FFFFFF
##3E0D601.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)
#002762
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#382437
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0d60;
/* rgb */ color: rgb(62, 13, 96);
/* oklch */ color: oklch(29.6% 0.135 306.1);
Tailwind
colors: {
  custom: {
    50: '#78538e',
    500: '#3e0d60',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d60;
$custom-light: #78538e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d60",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 96
  },
  "hsl": {
    "h": 275.422,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29581,
    "c": 0.13467,
    "h": 306.1
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#3E0D60
secondary
#5B9A2F
accent
#F33583
background
#F7F5F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0D60

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

Preview Lab → · Contrast checker → · Palette generator →

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