#1D0C50#1D0C50

#1D0C50 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.114 H 285.0°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#1D0C50
RGBrgb(29, 12, 80)
HSLhsl(255, 74%, 18%)
HSVhsv(255, 85%, 31%)
CMYKcmyk(63.7%, 85%, 0%, 68.6%)
CIE-LABlab(9.82, 28.68, -38.15)
CIE-LCHlch(9.82, 47.73, 306.93°)
OKLaboklab(23.55% 0.0295 -0.1099)
OKLCHoklch(23.55% 0.114 285)
XYZxyz(2.0857, 1.1032, 7.6909)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0C50 #3F500C
analogous
#0C1D50 #1D0C50 #3F0C50
triadic
#1D0C50 #501D0C #0C501D
tetradic
#1D0C50 #500C1D #3F500C #0C503F
square
#1D0C50 #500C1D #3F500C #0C503F
split-complementary
#1D0C50 #503F0C #1D500C
monochromatic
#0A041B #0A041B #1D0C50 #301485 #441CBA

Accessibility & contrast

On white

17.20
#1D0C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1D0C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0C50
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0C50#FFFFFF#000000##FFFFFF
##1D0C501.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#03202E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d0c50;
/* rgb */ color: rgb(29, 12, 80);
/* oklch */ color: oklch(23.6% 0.114 285.0);
Tailwind
colors: {
  custom: {
    50: '#614d82',
    500: '#1d0c50',
    950: '#000000',
  },
}
SCSS
$custom: #1d0c50;
$custom-light: #614d82;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0c50",
  "rgb": {
    "r": 29,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 255,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23551,
    "c": 0.11382,
    "h": 285
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#1D0C50
secondary
#748B2C
accent
#F137C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1D0C50

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

Preview Lab → · Contrast checker → · Palette generator →

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