#1E103B#1E103B

#1E103B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.079 H 294.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#1E103B
RGBrgb(30, 16, 59)
HSLhsl(260, 57%, 15%)
HSVhsv(260, 73%, 23%)
CMYKcmyk(49.2%, 72.9%, 0%, 76.9%)
CIE-LABlab(8.67, 19.34, -25.27)
CIE-LCHlch(8.67, 31.82, 307.43°)
OKLaboklab(22.1% 0.032 -0.0721)
OKLCHoklch(22.1% 0.079 294)
XYZxyz(1.5099, 0.9623, 4.2430)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E103B #2D3B10
analogous
#10183B #1E103B #34103B
triadic
#1E103B #3B1E10 #103B1E
tetradic
#1E103B #3B1018 #2D3B10 #103B34
square
#1E103B #3B1018 #2D3B10 #103B34
split-complementary
#1E103B #3B3410 #183B10
monochromatic
#0C0718 #0C0718 #1E103B #361D6B #4F2A9B

Accessibility & contrast

On white

17.61
#1E103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1E103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E103B
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E103B#FFFFFF#000000##FFFFFF
##1E103B1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#161A23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1e103b;
/* rgb */ color: rgb(30, 16, 59);
/* oklch */ color: oklch(22.1% 0.079 294.0);
Tailwind
colors: {
  custom: {
    50: '#5d4f71',
    500: '#1e103b',
    950: '#000000',
  },
}
SCSS
$custom: #1e103b;
$custom-light: #5d4f71;
$custom-dark: #000000;
JSON
{
  "hex": "#1e103b",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 259.535,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22101,
    "c": 0.07891,
    "h": 294
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#1E103B
secondary
#5F7532
accent
#E147AF
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #1E103B

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

Preview Lab → · Contrast checker → · Palette generator →

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