#1E124F#1E124F

#1E124F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.105 H 284.5°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#1E124F
RGBrgb(30, 18, 79)
HSLhsl(252, 63%, 19%)
HSVhsv(252, 77%, 31%)
CMYKcmyk(62%, 77.2%, 0%, 69%)
CIE-LABlab(11.09, 24.94, -35.39)
CIE-LCHlch(11.09, 43.29, 305.17°)
OKLaboklab(24.44% 0.0263 -0.1018)
OKLCHoklch(24.44% 0.105 284.5)
XYZxyz(2.1626, 1.2730, 7.5274)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E124F #434F12
analogous
#12254F #1E124F #3D124F
triadic
#1E124F #4F1E12 #124F1E
tetradic
#1E124F #4F1225 #434F12 #124F3D
square
#1E124F #4F1225 #434F12 #124F3D
split-complementary
#1E124F #4F3D12 #254F12
monochromatic
#090619 #0B071D #1E124F #311D81 #4429B3

Accessibility & contrast

On white

16.74
#1E124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E124F
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E124F#FFFFFF#000000##FFFFFF
##1E124F1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#06222F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e124f;
/* rgb */ color: rgb(30, 18, 79);
/* oklch */ color: oklch(24.4% 0.105 284.5);
Tailwind
colors: {
  custom: {
    50: '#605181',
    500: '#1e124f',
    950: '#000000',
  },
}
SCSS
$custom: #1e124f;
$custom-light: #605181;
$custom-dark: #000000;
JSON
{
  "hex": "#1e124f",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 251.803,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24435,
    "c": 0.10518,
    "h": 284.5
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#1E124F
secondary
#788835
accent
#E642C6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E124F

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

Preview Lab → · Contrast checker → · Palette generator →

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