#1E124B#1E124B

#1E124B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.099 H 285.9°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#1E124B
RGBrgb(30, 18, 75)
HSLhsl(253, 61%, 18%)
HSVhsv(253, 76%, 29%)
CMYKcmyk(60%, 76%, 0%, 70.6%)
CIE-LABlab(10.68, 23.53, -33.29)
CIE-LCHlch(10.68, 40.77, 305.26°)
OKLaboklab(24.02% 0.0272 -0.0957)
OKLCHoklch(24.02% 0.099 285.9)
XYZxyz(2.0213, 1.2165, 6.7835)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E124B #3F4B12
analogous
#12224B #1E124B #3A124B
triadic
#1E124B #4B1E12 #124B1E
tetradic
#1E124B #4B1222 #3F4B12 #124B3A
square
#1E124B #4B1222 #3F4B12 #124B3A
split-complementary
#1E124B #4B3A12 #224B12
monochromatic
#0A0619 #0A061A #1E124B #321E7C #452AAE

Accessibility & contrast

On white

16.89
#1E124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1E124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E124B
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E124B#FFFFFF#000000##FFFFFF
##1E124B1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#0B212C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1e124b;
/* rgb */ color: rgb(30, 18, 75);
/* oklch */ color: oklch(24.0% 0.099 285.9);
Tailwind
colors: {
  custom: {
    50: '#60517e',
    500: '#1e124b',
    950: '#000000',
  },
}
SCSS
$custom: #1e124b;
$custom-light: #60517e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e124b",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 252.632,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24019,
    "c": 0.09947,
    "h": 285.9
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#1E124B
secondary
#738435
accent
#E443C3
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E124B

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

Preview Lab → · Contrast checker → · Palette generator →

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