#1C0D56#1C0D56

#1C0D56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.3% C 0.121 H 282.0°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#1C0D56
RGBrgb(28, 13, 86)
HSLhsl(252, 74%, 19%)
HSVhsv(252, 85%, 34%)
CMYKcmyk(67.4%, 84.9%, 0%, 66.3%)
CIE-LABlab(10.60, 29.99, -40.97)
CIE-LCHlch(10.60, 50.77, 306.20°)
OKLaboklab(24.28% 0.0251 -0.1182)
OKLCHoklch(24.28% 0.121 282)
XYZxyz(2.3020, 1.2064, 8.9139)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D56 #47560D
analogous
#0D2356 #1C0D56 #410D56
triadic
#1C0D56 #561C0D #0D561C
tetradic
#1C0D56 #560D23 #47560D #0D5641
square
#1C0D56 #560D23 #47560D #0D5641
split-complementary
#1C0D56 #56410D #23560D
monochromatic
#09041B #0B0521 #1C0D56 #2D158B #3F1DC0

Accessibility & contrast

On white

16.92
#1C0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0D56
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D56#FFFFFF#000000##FFFFFF
##1C0D561.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c0d56;
/* rgb */ color: rgb(28, 13, 86);
/* oklch */ color: oklch(24.3% 0.121 282.0);
Tailwind
colors: {
  custom: {
    50: '#624e87',
    500: '#1c0d56',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d56;
$custom-light: #624e87;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d56",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 252.329,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24279,
    "c": 0.12083,
    "h": 282
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#1C0D56
secondary
#7C912E
accent
#F037CA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1C0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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