#1D0E5B#1D0E5B

#1D0E5B is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.1% C 0.126 H 281.2°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#1D0E5B
RGBrgb(29, 14, 91)
HSLhsl(252, 73%, 21%)
HSVhsv(252, 85%, 36%)
CMYKcmyk(68.1%, 84.6%, 0%, 64.3%)
CIE-LABlab(11.49, 31.24, -42.90)
CIE-LCHlch(11.49, 53.07, 306.06°)
OKLaboklab(25.09% 0.0245 -0.1238)
OKLCHoklch(25.09% 0.126 281.2)
XYZxyz(2.5515, 1.3304, 10.0178)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E5B #4C5B0E
analogous
#0E265B #1D0E5B #430E5B
triadic
#1D0E5B #5B1D0E #0E5B1D
tetradic
#1D0E5B #5B0E26 #4C5B0E #0E5B43
square
#1D0E5B #5B0E26 #4C5B0E #0E5B43
split-complementary
#1D0E5B #5B430E #265B0E
monochromatic
#08041B #0C0626 #1D0E5B #2E1690 #3F1EC5

Accessibility & contrast

On white

16.59
#1D0E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1D0E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E5B
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E5B#FFFFFF#000000##FFFFFF
##1D0E5B1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d0e5b;
/* rgb */ color: rgb(29, 14, 91);
/* oklch */ color: oklch(25.1% 0.126 281.2);
Tailwind
colors: {
  custom: {
    50: '#634f8a',
    500: '#1d0e5b',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e5b;
$custom-light: #634f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e5b",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 251.688,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25094,
    "c": 0.12619,
    "h": 281.2
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#1D0E5B
secondary
#819530
accent
#F038CC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D0E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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