#1D0E5C#1D0E5C

#1D0E5C is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.2% C 0.127 H 280.9°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#1D0E5C
RGBrgb(29, 14, 92)
HSLhsl(252, 74%, 21%)
HSVhsv(252, 85%, 36%)
CMYKcmyk(68.5%, 84.8%, 0%, 63.9%)
CIE-LABlab(11.61, 31.57, -43.37)
CIE-LCHlch(11.61, 53.64, 306.04°)
OKLaboklab(25.21% 0.0242 -0.1252)
OKLCHoklch(25.21% 0.127 280.9)
XYZxyz(2.5949, 1.3478, 10.2465)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E5C #4D5C0E
analogous
#0E265C #1D0E5C #440E5C
triadic
#1D0E5C #5C1D0E #0E5C1D
tetradic
#1D0E5C #5C0E26 #4D5C0E #0E5C44
square
#1D0E5C #5C0E26 #4D5C0E #0E5C44
split-complementary
#1D0E5C #5C440E #265C0E
monochromatic
#08041B #0C0627 #1D0E5C #2E1691 #3E1EC6

Accessibility & contrast

On white

16.54
#1D0E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0E5C
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E5C#FFFFFF#000000##FFFFFF
##1D0E5C1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002535
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d0e5c;
/* rgb */ color: rgb(29, 14, 92);
/* oklch */ color: oklch(25.2% 0.127 280.9);
Tailwind
colors: {
  custom: {
    50: '#634f8b',
    500: '#1d0e5c',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e5c;
$custom-light: #634f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e5c",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 251.538,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25212,
    "c": 0.12749,
    "h": 280.9
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#1D0E5C
secondary
#829630
accent
#F038CD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D0E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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