#1E115A#1E115A

#1E115A is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.122 H 281.6°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#1E115A
RGBrgb(30, 17, 90)
HSLhsl(251, 68%, 21%)
HSVhsv(251, 81%, 35%)
CMYKcmyk(66.7%, 81.1%, 0%, 64.7%)
CIE-LABlab(12.06, 29.35, -41.28)
CIE-LCHlch(12.06, 50.65, 305.41°)
OKLaboklab(25.48% 0.0244 -0.1191)
OKLCHoklch(25.48% 0.122 281.6)
XYZxyz(2.5808, 1.4149, 9.8080)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E115A #4D5A11
analogous
#11285A #1E115A #42115A
triadic
#1E115A #5A1E11 #115A1E
tetradic
#1E115A #5A1128 #4D5A11 #115A42
square
#1E115A #5A1128 #4D5A11 #115A42
split-complementary
#1E115A #5A4211 #285A11
monochromatic
#09051A #0D0727 #1E115A #2F1B8D #4024C1

Accessibility & contrast

On white

16.37
#1E115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1E115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1E115A#FFFFFF#000000##FFFFFF
##1E115A1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e115a;
/* rgb */ color: rgb(30, 17, 90);
/* oklch */ color: oklch(25.5% 0.122 281.6);
Tailwind
colors: {
  custom: {
    50: '#635189',
    500: '#1e115a',
    950: '#000000',
  },
}
SCSS
$custom: #1e115a;
$custom-light: #635189;
$custom-dark: #000000;
JSON
{
  "hex": "#1e115a",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 250.685,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25483,
    "c": 0.12154,
    "h": 281.6
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#1E115A
secondary
#829334
accent
#EB3DCC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E115A

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

Preview Lab → · Contrast checker → · Palette generator →

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