#1D0E5F#1D0E5F

#1D0E5F is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.131 H 280.2°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#1D0E5F
RGBrgb(29, 14, 95)
HSLhsl(251, 74%, 21%)
HSVhsv(251, 85%, 37%)
CMYKcmyk(69.5%, 85.3%, 0%, 62.7%)
CIE-LABlab(11.97, 32.55, -44.79)
CIE-LCHlch(11.97, 55.37, 306.01°)
OKLaboklab(25.57% 0.0232 -0.1293)
OKLCHoklch(25.57% 0.131 280.2)
XYZxyz(2.7286, 1.4013, 10.9509)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E5F #505F0E
analogous
#0E285F #1D0E5F #460E5F
triadic
#1D0E5F #5F1D0E #0E5F1D
tetradic
#1D0E5F #5F0E28 #505F0E #0E5F46
square
#1D0E5F #5F0E28 #505F0E #0E5F46
split-complementary
#1D0E5F #5F460E #285F0E
monochromatic
#08041B #0D062A #1D0E5F #2D1694 #3E1ECA

Accessibility & contrast

On white

16.40
#1D0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1D0E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E5F
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E5F#FFFFFF#000000##FFFFFF
##1D0E5F1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d0e5f;
/* rgb */ color: rgb(29, 14, 95);
/* oklch */ color: oklch(25.6% 0.131 280.2);
Tailwind
colors: {
  custom: {
    50: '#644f8d',
    500: '#1d0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e5f;
$custom-light: #644f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e5f",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 251.111,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25569,
    "c": 0.13136,
    "h": 280.2
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#1D0E5F
secondary
#859930
accent
#F137CE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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