#1C0D52#1C0D52

#1C0D52 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.116 H 283.2°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#1C0D52
RGBrgb(28, 13, 82)
HSLhsl(253, 73%, 19%)
HSVhsv(253, 84%, 32%)
CMYKcmyk(65.9%, 84.1%, 0%, 67.8%)
CIE-LABlab(10.14, 28.65, -39.01)
CIE-LCHlch(10.14, 48.40, 306.29°)
OKLaboklab(23.81% 0.0264 -0.1125)
OKLCHoklch(23.81% 0.116 283.2)
XYZxyz(2.1453, 1.1438, 8.0887)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D52 #43520D
analogous
#0D2052 #1C0D52 #3E0D52
triadic
#1C0D52 #521C0D #0D521C
tetradic
#1C0D52 #520D20 #43520D #0D523E
square
#1C0D52 #520D20 #43520D #0D523E
split-complementary
#1C0D52 #523E0D #20520D
monochromatic
#09041A #0A051D #1C0D52 #2E1587 #401EBC

Accessibility & contrast

On white

17.09
#1C0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0D52
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D52#FFFFFF#000000##FFFFFF
##1C0D521.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1c0d52;
/* rgb */ color: rgb(28, 13, 82);
/* oklch */ color: oklch(23.8% 0.116 283.2);
Tailwind
colors: {
  custom: {
    50: '#614e83',
    500: '#1c0d52',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d52;
$custom-light: #614e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d52",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 253.043,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23811,
    "c": 0.11554,
    "h": 283.2
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#1C0D52
secondary
#788D2E
accent
#EF38C8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1C0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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