#1E103E#1E103E

#1E103E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.083 H 292.3°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#1E103E
RGBrgb(30, 16, 62)
HSLhsl(258, 59%, 15%)
HSVhsv(258, 74%, 24%)
CMYKcmyk(51.6%, 74.2%, 0%, 75.7%)
CIE-LABlab(8.94, 20.36, -26.97)
CIE-LCHlch(8.94, 33.79, 307.04°)
OKLaboklab(22.38% 0.0317 -0.0771)
OKLCHoklch(22.38% 0.083 292.3)
XYZxyz(1.5900, 0.9944, 4.6646)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E103E #303E10
analogous
#10193E #1E103E #35103E
triadic
#1E103E #3E1E10 #103E1E
tetradic
#1E103E #3E1019 #303E10 #103E35
square
#1E103E #3E1019 #303E10 #103E35
split-complementary
#1E103E #3E3510 #193E10
monochromatic
#0C0618 #0C0618 #1E103E #361D6F #4D299F

Accessibility & contrast

On white

17.52
#1E103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1E103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E103E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E103E#FFFFFF#000000##FFFFFF
##1E103E1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#151B25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1e103e;
/* rgb */ color: rgb(30, 16, 62);
/* oklch */ color: oklch(22.4% 0.083 292.3);
Tailwind
colors: {
  custom: {
    50: '#5d4f74',
    500: '#1e103e',
    950: '#000000',
  },
}
SCSS
$custom: #1e103e;
$custom-light: #5d4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1e103e",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 258.261,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22382,
    "c": 0.08338,
    "h": 292.3
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#1E103E
secondary
#637832
accent
#E246B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1E103E

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

Preview Lab → · Contrast checker → · Palette generator →

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