#3E115E#3E115E

#3E115E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.128 H 306.5°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#3E115E
RGBrgb(62, 17, 94)
HSLhsl(275, 69%, 22%)
HSVhsv(275, 82%, 37%)
CMYKcmyk(34%, 81.9%, 0%, 63.1%)
CIE-LABlab(16.67, 36.06, -36.25)
CIE-LCHlch(16.67, 51.13, 314.85°)
OKLaboklab(29.79% 0.0763 -0.1031)
OKLCHoklch(29.79% 0.128 306.5)
XYZxyz(4.2070, 2.2332, 10.7969)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E115E #315E11
analogous
#18115E #3E115E #5E1158
triadic
#3E115E #5E3E11 #115E3E
tetradic
#3E115E #5E1811 #315E11 #11585E
square
#3E115E #5E1811 #315E11 #11585E
split-complementary
#3E115E #585E11 #115E18
monochromatic
#11051A #1C082A #3E115E #601A92 #8224C6

Accessibility & contrast

On white

14.52
#3E115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E115E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E115E#FFFFFF#000000##FFFFFF
##3E115E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e115e;
/* rgb */ color: rgb(62, 17, 94);
/* oklch */ color: oklch(29.8% 0.128 306.5);
Tailwind
colors: {
  custom: {
    50: '#77558c',
    500: '#3e115e',
    950: '#000000',
  },
}
SCSS
$custom: #3e115e;
$custom-light: #77558c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e115e",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 275.065,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29789,
    "c": 0.12829,
    "h": 306.5
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#3E115E
secondary
#5D9734
accent
#EC3C85
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E115E

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

Preview Lab → · Contrast checker → · Palette generator →

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