#3E105E#3E105E

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

Color values

HEX#3E105E
RGBrgb(62, 16, 94)
HSLhsl(275, 71%, 22%)
HSVhsv(275, 83%, 37%)
CMYKcmyk(34%, 83%, 0%, 63.1%)
CIE-LABlab(16.52, 36.49, -36.49)
CIE-LCHlch(16.52, 51.61, 315.00°)
OKLaboklab(29.69% 0.0773 -0.1038)
OKLCHoklch(29.69% 0.129 306.7)
XYZxyz(4.1918, 2.2029, 10.7919)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E105E #305E10
analogous
#17105E #3E105E #5E1057
triadic
#3E105E #5E3E10 #105E3E
tetradic
#3E105E #5E1710 #305E10 #10575E
square
#3E105E #5E1710 #305E10 #10575E
split-complementary
#3E105E #575E10 #105E17
monochromatic
#11041A #1C072A #3E105E #601992 #8322C7

Accessibility & contrast

On white

14.58
#3E105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E105E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E105E#FFFFFF#000000##FFFFFF
##3E105E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#382437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e105e;
/* rgb */ color: rgb(62, 16, 94);
/* oklch */ color: oklch(29.7% 0.129 306.7);
Tailwind
colors: {
  custom: {
    50: '#77548c',
    500: '#3e105e',
    950: '#000000',
  },
}
SCSS
$custom: #3e105e;
$custom-light: #77548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e105e",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 275.385,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29685,
    "c": 0.12942,
    "h": 306.7
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#3E105E
secondary
#5C9733
accent
#EE3A84
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E105E

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

Preview Lab → · Contrast checker → · Palette generator →

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