#1E115E#1E115E

#1E115E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.127 H 280.6°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#1E115E
RGBrgb(30, 17, 94)
HSLhsl(250, 69%, 22%)
HSVhsv(250, 82%, 37%)
CMYKcmyk(68.1%, 81.9%, 0%, 63.1%)
CIE-LABlab(12.51, 30.71, -43.22)
CIE-LCHlch(12.51, 53.02, 305.39°)
OKLaboklab(25.94% 0.0233 -0.1247)
OKLCHoklch(25.94% 0.127 280.6)
XYZxyz(2.7556, 1.4849, 10.7289)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E115E #515E11
analogous
#112B5E #1E115E #45115E
triadic
#1E115E #5E1E11 #115E1E
tetradic
#1E115E #5E112B #515E11 #115E45
square
#1E115E #5E112B #515E11 #115E45
split-complementary
#1E115E #5E4511 #2B5E11
monochromatic
#08051A #0D082A #1E115E #2F1A92 #3F24C6

Accessibility & contrast

On white

16.19
#1E115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1E115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1E115E#FFFFFF#000000##FFFFFF
##1E115E1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e115e;
/* rgb */ color: rgb(30, 17, 94);
/* oklch */ color: oklch(25.9% 0.127 280.6);
Tailwind
colors: {
  custom: {
    50: '#64518d',
    500: '#1e115e',
    950: '#000000',
  },
}
SCSS
$custom: #1e115e;
$custom-light: #64518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e115e",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 250.13,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25939,
    "c": 0.12688,
    "h": 280.6
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#1E115E
secondary
#869734
accent
#EC3CCE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E115E

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

Preview Lab → · Contrast checker → · Palette generator →

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