#3E115F#3E115F

#3E115F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.129 H 306.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#3E115F
RGBrgb(62, 17, 95)
HSLhsl(275, 70%, 22%)
HSVhsv(275, 82%, 37%)
CMYKcmyk(34.7%, 82.1%, 0%, 62.7%)
CIE-LABlab(16.75, 36.32, -36.77)
CIE-LCHlch(16.75, 51.68, 314.64°)
OKLaboklab(29.88% 0.0761 -0.1046)
OKLCHoklch(29.88% 0.129 306)
XYZxyz(4.2522, 2.2513, 11.0348)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E115F #325F11
analogous
#17115F #3E115F #5F1159
triadic
#3E115F #5F3E11 #115F3E
tetradic
#3E115F #5F1711 #325F11 #11595F
square
#3E115F #5F1711 #325F11 #11595F
split-complementary
#3E115F #595F11 #115F17
monochromatic
#11051A #1C082B #3E115F #601A93 #8224C7

Accessibility & contrast

On white

14.48
#3E115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E115F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E115F#FFFFFF#000000##FFFFFF
##3E115F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#382538
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e115f;
/* rgb */ color: rgb(62, 17, 95);
/* oklch */ color: oklch(29.9% 0.129 306.0);
Tailwind
colors: {
  custom: {
    50: '#77558d',
    500: '#3e115f',
    950: '#000000',
  },
}
SCSS
$custom: #3e115f;
$custom-light: #77558d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e115f",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 274.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29878,
    "c": 0.12938,
    "h": 306
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#3E115F
secondary
#5E9834
accent
#EC3B86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E115F

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

Preview Lab → · Contrast checker → · Palette generator →

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