#3E115B#3E115B

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

Color values

HEX#3E115B
RGBrgb(62, 17, 91)
HSLhsl(276, 69%, 21%)
HSVhsv(276, 81%, 36%)
CMYKcmyk(31.9%, 81.3%, 0%, 64.3%)
CIE-LABlab(16.41, 35.31, -34.67)
CIE-LCHlch(16.41, 49.49, 315.53°)
OKLaboklab(29.53% 0.077 -0.0985)
OKLCHoklch(29.53% 0.125 308)
XYZxyz(4.0750, 2.1804, 10.1017)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E115B #2E5B11
analogous
#19115B #3E115B #5B1153
triadic
#3E115B #5B3E11 #115B3E
tetradic
#3E115B #5B1911 #2E5B11 #11535B
square
#3E115B #5B1911 #2E5B11 #11535B
split-complementary
#3E115B #535B11 #115B19
monochromatic
#12051A #1B0727 #3E115B #611B8F #8424C2

Accessibility & contrast

On white

14.62
#3E115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E115B
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E115B#FFFFFF#000000##FFFFFF
##3E115B1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#392335
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e115b;
/* rgb */ color: rgb(62, 17, 91);
/* oklch */ color: oklch(29.5% 0.125 308.0);
Tailwind
colors: {
  custom: {
    50: '#77558a',
    500: '#3e115b',
    950: '#000000',
  },
}
SCSS
$custom: #3e115b;
$custom-light: #77558a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e115b",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 276.486,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.12502,
    "h": 308
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#3E115B
secondary
#5A9434
accent
#EB3C81
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E115B

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

Preview Lab → · Contrast checker → · Palette generator →

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