#1E114E#1E114E

#1E114E is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.105 H 285.2°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#1E114E
RGBrgb(30, 17, 78)
HSLhsl(253, 64%, 19%)
HSVhsv(253, 78%, 31%)
CMYKcmyk(61.5%, 78.2%, 0%, 69.4%)
CIE-LABlab(10.75, 25.22, -35.24)
CIE-LCHlch(10.75, 43.33, 305.59°)
OKLaboklab(24.17% 0.0275 -0.1014)
OKLCHoklch(24.17% 0.105 285.2)
XYZxyz(2.1106, 1.2269, 7.3318)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E114E #414E11
analogous
#11224E #1E114E #3C114E
triadic
#1E114E #4E1E11 #114E1E
tetradic
#1E114E #4E1122 #414E11 #114E3C
square
#1E114E #4E1122 #414E11 #114E3C
split-complementary
#1E114E #4E3C11 #224E11
monochromatic
#0A0519 #0B061C #1E114E #311C80 #4527B2

Accessibility & contrast

On white

16.86
#1E114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1E114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E114E
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E114E#FFFFFF#000000##FFFFFF
##1E114E1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001B4D
Tritanopia (blue-blind)
#07212E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1e114e;
/* rgb */ color: rgb(30, 17, 78);
/* oklch */ color: oklch(24.2% 0.105 285.2);
Tailwind
colors: {
  custom: {
    50: '#605080',
    500: '#1e114e',
    950: '#000000',
  },
}
SCSS
$custom: #1e114e;
$custom-light: #605080;
$custom-dark: #000000;
JSON
{
  "hex": "#1e114e",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 252.787,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24167,
    "c": 0.10507,
    "h": 285.2
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#1E114E
secondary
#758733
accent
#E741C4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E114E

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

Preview Lab → · Contrast checker → · Palette generator →

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