#3E105D#3E105D

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

Color values

HEX#3E105D
RGBrgb(62, 16, 93)
HSLhsl(276, 71%, 21%)
HSVhsv(276, 83%, 36%)
CMYKcmyk(33.3%, 82.8%, 0%, 63.5%)
CIE-LABlab(16.43, 36.24, -35.97)
CIE-LCHlch(16.43, 51.06, 315.22°)
OKLaboklab(29.6% 0.0775 -0.1023)
OKLCHoklch(29.6% 0.128 307.2)
XYZxyz(4.1473, 2.1851, 10.5571)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E105D #2F5D10
analogous
#18105D #3E105D #5D1056
triadic
#3E105D #5D3E10 #105D3E
tetradic
#3E105D #5D1810 #2F5D10 #10565D
square
#3E105D #5D1810 #2F5D10 #10565D
split-complementary
#3E105D #565D10 #105D18
monochromatic
#11041A #1B0729 #3E105D #611991 #8422C5

Accessibility & contrast

On white

14.61
#3E105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E105D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E105D#FFFFFF#000000##FFFFFF
##3E105D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e105d;
/* rgb */ color: rgb(62, 16, 93);
/* oklch */ color: oklch(29.6% 0.128 307.2);
Tailwind
colors: {
  custom: {
    50: '#77548c',
    500: '#3e105d',
    950: '#000000',
  },
}
SCSS
$custom: #3e105d;
$custom-light: #77548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e105d",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 275.844,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29596,
    "c": 0.12835,
    "h": 307.2
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#3E105D
secondary
#5B9633
accent
#ED3A82
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E105D

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

Preview Lab → · Contrast checker → · Palette generator →

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