#1E115B#1E115B

#1E115B is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.123 H 281.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#1E115B
RGBrgb(30, 17, 91)
HSLhsl(251, 69%, 21%)
HSVhsv(251, 81%, 36%)
CMYKcmyk(67%, 81.3%, 0%, 64.3%)
CIE-LABlab(12.17, 29.69, -41.77)
CIE-LCHlch(12.17, 51.24, 305.40°)
OKLaboklab(25.6% 0.0241 -0.1205)
OKLCHoklch(25.6% 0.123 281.3)
XYZxyz(2.6236, 1.4321, 10.0337)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E115B #4E5B11
analogous
#11295B #1E115B #43115B
triadic
#1E115B #5B1E11 #115B1E
tetradic
#1E115B #5B1129 #4E5B11 #115B43
square
#1E115B #5B1129 #4E5B11 #115B43
split-complementary
#1E115B #5B4311 #295B11
monochromatic
#09051A #0D0727 #1E115B #2F1B8F #4024C2

Accessibility & contrast

On white

16.32
#1E115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1E115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E115B
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E115B#FFFFFF#000000##FFFFFF
##1E115B1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e115b;
/* rgb */ color: rgb(30, 17, 91);
/* oklch */ color: oklch(25.6% 0.123 281.3);
Tailwind
colors: {
  custom: {
    50: '#63518a',
    500: '#1e115b',
    950: '#000000',
  },
}
SCSS
$custom: #1e115b;
$custom-light: #63518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e115b",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 250.541,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25596,
    "c": 0.12289,
    "h": 281.3
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#1E115B
secondary
#839434
accent
#EB3CCD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E115B

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

Preview Lab → · Contrast checker → · Palette generator →

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