#1E115F#1E115F

#1E115F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.128 H 280.3°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#1E115F
RGBrgb(30, 17, 95)
HSLhsl(250, 70%, 22%)
HSVhsv(250, 82%, 37%)
CMYKcmyk(68.4%, 82.1%, 0%, 62.7%)
CIE-LABlab(12.63, 31.05, -43.70)
CIE-LCHlch(12.63, 53.60, 305.39°)
OKLaboklab(26.05% 0.023 -0.1261)
OKLCHoklch(26.05% 0.128 280.3)
XYZxyz(2.8008, 1.5029, 10.9668)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E115F #525F11
analogous
#112B5F #1E115F #45115F
triadic
#1E115F #5F1E11 #115F1E
tetradic
#1E115F #5F112B #525F11 #115F45
square
#1E115F #5F112B #525F11 #115F45
split-complementary
#1E115F #5F4511 #2B5F11
monochromatic
#08051A #0E082B #1E115F #2E1A93 #3F24C7

Accessibility & contrast

On white

16.15
#1E115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E115F#FFFFFF#000000##FFFFFF
##1E115F1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1e115f;
/* rgb */ color: rgb(30, 17, 95);
/* oklch */ color: oklch(26.1% 0.128 280.3);
Tailwind
colors: {
  custom: {
    50: '#64518d',
    500: '#1e115f',
    950: '#000000',
  },
}
SCSS
$custom: #1e115f;
$custom-light: #64518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e115f",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 250,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26054,
    "c": 0.1282,
    "h": 280.3
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#1E115F
secondary
#879834
accent
#EC3BCF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E115F

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

Preview Lab → · Contrast checker → · Palette generator →

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