#1E102F#1E102F

#1E102F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.1% C 0.060 H 302.4°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#1E102F
RGBrgb(30, 16, 47)
HSLhsl(267, 49%, 12%)
HSVhsv(267, 66%, 18%)
CMYKcmyk(36.2%, 66%, 0%, 81.6%)
CIE-LABlab(7.69, 15.38, -18.10)
CIE-LCHlch(7.69, 23.75, 310.35°)
OKLaboklab(21.07% 0.0323 -0.0511)
OKLCHoklch(21.07% 0.06 302.4)
XYZxyz(1.2337, 0.8518, 2.7882)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E102F #212F10
analogous
#10122F #1E102F #2E102F
triadic
#1E102F #2F1E10 #102F1E
tetradic
#1E102F #2F1012 #212F10 #102F2E
square
#1E102F #2F1012 #212F10 #102F2E
split-complementary
#1E102F #2F2E10 #122F10
monochromatic
#0F0817 #0F0817 #1E102F #3B205D #582F8A

Accessibility & contrast

On white

17.94
#1E102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1E102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E102F
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E102F#FFFFFF#000000##FFFFFF
##1E102F1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#09172E
Tritanopia (blue-blind)
#1B161D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e102f;
/* rgb */ color: rgb(30, 16, 47);
/* oklch */ color: oklch(21.1% 0.060 302.4);
Tailwind
colors: {
  custom: {
    50: '#5b4e67',
    500: '#1e102f',
    950: '#000000',
  },
}
SCSS
$custom: #1e102f;
$custom-light: #5b4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#1e102f",
  "rgb": {
    "r": 30,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 267.097,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21068,
    "c": 0.06045,
    "h": 302.4
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#1E102F
secondary
#506833
accent
#D94F9B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1E102F

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

Preview Lab → · Contrast checker → · Palette generator →

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