#1C022E#1C022E

#1C022E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.086 H 307.4°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#1C022E
RGBrgb(28, 2, 46)
HSLhsl(275, 92%, 9%)
HSVhsv(275, 96%, 18%)
CMYKcmyk(39.1%, 95.7%, 0%, 82%)
CIE-LABlab(4.40, 21.38, -22.60)
CIE-LCHlch(4.40, 31.11, 313.40°)
OKLaboklab(18.09% 0.0519 -0.068)
OKLCHoklch(18.09% 0.086 307.4)
XYZxyz(0.9936, 0.4876, 2.6260)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C022E #142E02
analogous
#06022E #1C022E #2E022A
triadic
#1C022E #2E1C02 #022E1C
tetradic
#1C022E #2E0602 #142E02 #022A2E
square
#1C022E #2E0602 #142E02 #022A2E
split-complementary
#1C022E #2A2E02 #022E06
monochromatic
#12011D #12011D #1C022E #400569 #6307A3

Accessibility & contrast

On white

19.13
#1C022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C022E
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C022E#FFFFFF#000000##FFFFFF
##1C022E1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c022e;
/* rgb */ color: rgb(28, 2, 46);
/* oklch */ color: oklch(18.1% 0.086 307.4);
Tailwind
colors: {
  custom: {
    50: '#5a4767',
    500: '#1c022e',
    950: '#000000',
  },
}
SCSS
$custom: #1c022e;
$custom-light: #5a4767;
$custom-dark: #000000;
JSON
{
  "hex": "#1c022e",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 275.455,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18089,
    "c": 0.08553,
    "h": 307.4
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#1C022E
secondary
#3E7319
accent
#FF2980
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C022E

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

Preview Lab → · Contrast checker → · Palette generator →

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