#1C0D54#1C0D54

#1C0D54 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.118 H 282.6°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#1C0D54
RGBrgb(28, 13, 84)
HSLhsl(253, 73%, 19%)
HSVhsv(253, 85%, 33%)
CMYKcmyk(66.7%, 84.5%, 0%, 67.1%)
CIE-LABlab(10.37, 29.32, -40.00)
CIE-LCHlch(10.37, 49.59, 306.24°)
OKLaboklab(24.04% 0.0258 -0.1153)
OKLCHoklch(24.04% 0.118 282.6)
XYZxyz(2.2225, 1.1747, 8.4954)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D54 #45540D
analogous
#0D2254 #1C0D54 #400D54
triadic
#1C0D54 #541C0D #0D541C
tetradic
#1C0D54 #540D22 #45540D #0D5440
square
#1C0D54 #540D22 #45540D #0D5440
split-complementary
#1C0D54 #54400D #22540D
monochromatic
#09041A #0A051F #1C0D54 #2E1589 #3F1DBE

Accessibility & contrast

On white

17.00
#1C0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0D54
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D54#FFFFFF#000000##FFFFFF
##1C0D541.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E56
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1c0d54;
/* rgb */ color: rgb(28, 13, 84);
/* oklch */ color: oklch(24.0% 0.118 282.6);
Tailwind
colors: {
  custom: {
    50: '#614e85',
    500: '#1c0d54',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d54;
$custom-light: #614e85;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d54",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 252.676,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24044,
    "c": 0.11819,
    "h": 282.6
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#1C0D54
secondary
#7A8F2E
accent
#F038C9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1C0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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