#1D0F4E#1D0F4E

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

Color values

HEX#1D0F4E
RGBrgb(29, 15, 78)
HSLhsl(253, 68%, 18%)
HSVhsv(253, 81%, 31%)
CMYKcmyk(62.8%, 80.8%, 0%, 69.4%)
CIE-LABlab(10.20, 26.28, -36.15)
CIE-LCHlch(10.20, 44.69, 306.02°)
OKLaboklab(23.75% 0.0277 -0.1041)
OKLCHoklch(23.75% 0.108 284.9)
XYZxyz(2.0522, 1.1528, 7.3206)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F4E #404E0F
analogous
#0F204E #1D0F4E #3C0F4E
triadic
#1D0F4E #4E1D0F #0F4E1D
tetradic
#1D0F4E #4E0F20 #404E0F #0F4E3C
square
#1D0F4E #4E0F20 #404E0F #0F4E3C
split-complementary
#1D0F4E #4E3C0F #204E0F
monochromatic
#0A051A #0A051B #1D0F4E #301981 #4323B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D0F4E#FFFFFF#000000##FFFFFF
##1D0F4E1.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)
#001E50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#05202D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0f4e;
/* rgb */ color: rgb(29, 15, 78);
/* oklch */ color: oklch(23.8% 0.108 284.9);
Tailwind
colors: {
  custom: {
    50: '#604f80',
    500: '#1d0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f4e;
$custom-light: #604f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f4e",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 253.333,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23751,
    "c": 0.1077,
    "h": 284.9
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#1D0F4E
secondary
#758831
accent
#EB3DC4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1D0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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