#1C022D#1C022D

#1C022D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.084 H 308.3°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#1C022D
RGBrgb(28, 2, 45)
HSLhsl(276, 91%, 9%)
HSVhsv(276, 96%, 18%)
CMYKcmyk(37.8%, 95.6%, 0%, 82.4%)
CIE-LABlab(4.33, 20.96, -21.96)
CIE-LCHlch(4.33, 30.36, 313.67°)
OKLaboklab(17.98% 0.0523 -0.0663)
OKLCHoklch(17.98% 0.084 308.3)
XYZxyz(0.9742, 0.4798, 2.5234)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C022D #132D02
analogous
#07022D #1C022D #2D0229
triadic
#1C022D #2D1C02 #022D1C
tetradic
#1C022D #2D0702 #132D02 #02292D
square
#1C022D #2D0702 #132D02 #02292D
split-complementary
#1C022D #292D02 #022D07
monochromatic
#12011D #12011D #1C022D #400568 #6507A2

Accessibility & contrast

On white

19.16
#1C022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1C022D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C022D
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C022D#FFFFFF#000000##FFFFFF
##1C022D1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#190C17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1c022d;
/* rgb */ color: rgb(28, 2, 45);
/* oklch */ color: oklch(18.0% 0.084 308.3);
Tailwind
colors: {
  custom: {
    50: '#594766',
    500: '#1c022d',
    950: '#000000',
  },
}
SCSS
$custom: #1c022d;
$custom-light: #594766;
$custom-dark: #000000;
JSON
{
  "hex": "#1c022d",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 276.279,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17984,
    "c": 0.08442,
    "h": 308.3
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#1C022D
secondary
#3C7219
accent
#FF297D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C022D

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

Preview Lab → · Contrast checker → · Palette generator →

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