#1C022B#1C022B

#1C022B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.082 H 310.2°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#1C022B
RGBrgb(28, 2, 43)
HSLhsl(278, 91%, 9%)
HSVhsv(278, 95%, 17%)
CMYKcmyk(34.9%, 95.3%, 0%, 83.1%)
CIE-LABlab(4.20, 20.14, -20.67)
CIE-LCHlch(4.20, 28.85, 314.26°)
OKLaboklab(17.78% 0.053 -0.0628)
OKLCHoklch(17.78% 0.082 310.2)
XYZxyz(0.9366, 0.4647, 2.3254)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C022B #112B02
analogous
#08022B #1C022B #2B0226
triadic
#1C022B #2B1C02 #022B1C
tetradic
#1C022B #2B0802 #112B02 #02262B
square
#1C022B #2B0802 #112B02 #02262B
split-complementary
#1C022B #262B02 #022B08
monochromatic
#13011D #13011D #1C022B #420565 #6807A0

Accessibility & contrast

On white

19.21
#1C022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1C022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C022B
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C022B#FFFFFF#000000##FFFFFF
##1C022B1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#1A0B16
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1c022b;
/* rgb */ color: rgb(28, 2, 43);
/* oklch */ color: oklch(17.8% 0.082 310.2);
Tailwind
colors: {
  custom: {
    50: '#594764',
    500: '#1c022b',
    950: '#000000',
  },
}
SCSS
$custom: #1c022b;
$custom-light: #594764;
$custom-dark: #000000;
JSON
{
  "hex": "#1c022b",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 278.049,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17777,
    "c": 0.08221,
    "h": 310.2
  },
  "luminance": 0.00465
}

Semantic roles & 50–950 ramp

primary
#1C022B
secondary
#397019
accent
#FF2977
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1C022B

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

Preview Lab → · Contrast checker → · Palette generator →

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