#1D0E50#1D0E50

#1D0E50 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.112 H 284.5°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#1D0E50
RGBrgb(29, 14, 80)
HSLhsl(254, 70%, 18%)
HSVhsv(254, 83%, 31%)
CMYKcmyk(63.7%, 82.5%, 0%, 68.6%)
CIE-LABlab(10.22, 27.55, -37.50)
CIE-LCHlch(10.22, 46.54, 306.30°)
OKLaboklab(23.83% 0.028 -0.108)
OKLCHoklch(23.83% 0.112 284.5)
XYZxyz(2.1113, 1.1543, 7.6994)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E50 #41500E
analogous
#0E2050 #1D0E50 #3E0E50
triadic
#1D0E50 #501D0E #0E501D
tetradic
#1D0E50 #500E20 #41500E #0E503E
square
#1D0E50 #500E20 #41500E #0E503E
split-complementary
#1D0E50 #503E0E #20500E
monochromatic
#09051A #0A051C #1D0E50 #301784 #4320B8

Accessibility & contrast

On white

17.06
#1D0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1D0E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E50
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E50#FFFFFF#000000##FFFFFF
##1D0E501.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#001A4F
Tritanopia (blue-blind)
#02212E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0e50;
/* rgb */ color: rgb(29, 14, 80);
/* oklch */ color: oklch(23.8% 0.112 284.5);
Tailwind
colors: {
  custom: {
    50: '#614e82',
    500: '#1d0e50',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e50;
$custom-light: #614e82;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e50",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 253.636,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23826,
    "c": 0.11161,
    "h": 284.5
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#1D0E50
secondary
#768B2F
accent
#ED3BC5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020A
muted
#7A787C

Preview Lab

Preview with #1D0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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