#3E105C#3E105C

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

Color values

HEX#3E105C
RGBrgb(62, 16, 92)
HSLhsl(276, 70%, 21%)
HSVhsv(276, 83%, 36%)
CMYKcmyk(32.6%, 82.6%, 0%, 63.9%)
CIE-LABlab(16.34, 35.99, -35.44)
CIE-LCHlch(16.34, 50.51, 315.44°)
OKLaboklab(29.51% 0.0778 -0.1007)
OKLCHoklch(29.51% 0.127 307.7)
XYZxyz(4.1033, 2.1675, 10.3253)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E105C #2E5C10
analogous
#18105C #3E105C #5C1054
triadic
#3E105C #5C3E10 #105C3E
tetradic
#3E105C #5C1810 #2E5C10 #10545C
square
#3E105C #5C1810 #2E5C10 #10545C
split-complementary
#3E105C #545C10 #105C18
monochromatic
#12051A #1B0728 #3E105C #611990 #8422C4

Accessibility & contrast

On white

14.65
#3E105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E105C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E105C#FFFFFF#000000##FFFFFF
##3E105C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e105c;
/* rgb */ color: rgb(62, 16, 92);
/* oklch */ color: oklch(29.5% 0.127 307.7);
Tailwind
colors: {
  custom: {
    50: '#77548b',
    500: '#3e105c',
    950: '#000000',
  },
}
SCSS
$custom: #3e105c;
$custom-light: #77548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e105c",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 276.316,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29507,
    "c": 0.12727,
    "h": 307.7
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#3E105C
secondary
#5A9533
accent
#ED3B81
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E105C

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

Preview Lab → · Contrast checker → · Palette generator →

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