#3E115A#3E115A

#3E115A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.124 H 308.6°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#3E115A
RGBrgb(62, 17, 90)
HSLhsl(277, 68%, 21%)
HSVhsv(277, 81%, 35%)
CMYKcmyk(31.1%, 81.1%, 0%, 64.7%)
CIE-LABlab(16.32, 35.06, -34.13)
CIE-LCHlch(16.32, 48.93, 315.77°)
OKLaboklab(29.44% 0.0773 -0.0969)
OKLCHoklch(29.44% 0.124 308.6)
XYZxyz(4.0321, 2.1633, 9.8760)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E115A #2D5A11
analogous
#19115A #3E115A #5A1151
triadic
#3E115A #5A3E11 #115A3E
tetradic
#3E115A #5A1911 #2D5A11 #11515A
square
#3E115A #5A1911 #2D5A11 #11515A
split-complementary
#3E115A #515A11 #115A19
monochromatic
#12051A #1B0727 #3E115A #611B8D #8524C1

Accessibility & contrast

On white

14.66
#3E115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E115A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E115A#FFFFFF#000000##FFFFFF
##3E115A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#3A2335
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e115a;
/* rgb */ color: rgb(62, 17, 90);
/* oklch */ color: oklch(29.4% 0.124 308.6);
Tailwind
colors: {
  custom: {
    50: '#775489',
    500: '#3e115a',
    950: '#000000',
  },
}
SCSS
$custom: #3e115a;
$custom-light: #775489;
$custom-dark: #000000;
JSON
{
  "hex": "#3e115a",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 276.986,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29439,
    "c": 0.12393,
    "h": 308.6
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#3E115A
secondary
#589334
accent
#EB3D80
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E115A

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

Preview Lab → · Contrast checker → · Palette generator →

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