#1D0C55#1D0C55

#1D0C55 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.1% C 0.120 H 283.4°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#1D0C55
RGBrgb(29, 12, 85)
HSLhsl(254, 75%, 19%)
HSVhsv(254, 86%, 33%)
CMYKcmyk(65.9%, 85.9%, 0%, 66.7%)
CIE-LABlab(10.41, 30.32, -40.61)
CIE-LCHlch(10.41, 50.68, 306.74°)
OKLaboklab(24.13% 0.0278 -0.1171)
OKLCHoklch(24.13% 0.12 283.4)
XYZxyz(2.2774, 1.1799, 8.7003)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0C55 #44550C
analogous
#0C2055 #1D0C55 #420C55
triadic
#1D0C55 #551D0C #0C551D
tetradic
#1D0C55 #550C20 #44550C #0C5542
square
#1D0C55 #550C20 #44550C #0C5542
split-complementary
#1D0C55 #55420C #20550C
monochromatic
#09041B #0B041F #1D0C55 #2F148B #421BC0

Accessibility & contrast

On white

16.99
#1D0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1D0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0C55
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0C55#FFFFFF#000000##FFFFFF
##1D0C551.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0c55;
/* rgb */ color: rgb(29, 12, 85);
/* oklch */ color: oklch(24.1% 0.120 283.4);
Tailwind
colors: {
  custom: {
    50: '#624e86',
    500: '#1d0c55',
    950: '#000000',
  },
}
SCSS
$custom: #1d0c55;
$custom-light: #624e86;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0c55",
  "rgb": {
    "r": 29,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 253.973,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24132,
    "c": 0.12036,
    "h": 283.4
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#1D0C55
secondary
#79902D
accent
#F236C6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1D0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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