#3E116C#3E116C

#3E116C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.144 H 300.2°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#3E116C
RGBrgb(62, 17, 108)
HSLhsl(270, 73%, 25%)
HSVhsv(270, 84%, 42%)
CMYKcmyk(42.6%, 84.3%, 0%, 57.6%)
CIE-LABlab(17.95, 39.65, -43.38)
CIE-LCHlch(17.95, 58.77, 312.43°)
OKLaboklab(31.09% 0.0722 -0.1241)
OKLCHoklch(31.09% 0.144 300.2)
XYZxyz(4.8932, 2.5077, 14.4107)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E116C #3F6C11
analogous
#11126C #3E116C #6C116C
triadic
#3E116C #6C3E11 #116C3E
tetradic
#3E116C #6C1112 #3F6C11 #116C6C
square
#3E116C #6C1112 #3F6C11 #116C6C
split-complementary
#3E116C #6C6C11 #126C11
monochromatic
#0F041A #200937 #3E116C #5C19A1 #7B22D6

Accessibility & contrast

On white

13.99
#3E116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E116C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E116C#FFFFFF#000000##FFFFFF
##3E116C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#332A3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e116c;
/* rgb */ color: rgb(62, 17, 108);
/* oklch */ color: oklch(31.1% 0.144 300.2);
Tailwind
colors: {
  custom: {
    50: '#795697',
    500: '#3e116c',
    950: '#000000',
  },
}
SCSS
$custom: #3e116c;
$custom-light: #795697;
$custom-dark: #000000;
JSON
{
  "hex": "#3e116c",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 269.67,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31087,
    "c": 0.14354,
    "h": 300.2
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#3E116C
secondary
#6DA435
accent
#EF3895
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3E116C

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

Preview Lab → · Contrast checker → · Palette generator →

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