#1C022F#1C022F

#1C022F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.087 H 306.5°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#1C022F
RGBrgb(28, 2, 47)
HSLhsl(275, 92%, 10%)
HSVhsv(275, 96%, 18%)
CMYKcmyk(40.4%, 95.7%, 0%, 81.6%)
CIE-LABlab(4.48, 21.80, -23.24)
CIE-LCHlch(4.48, 31.86, 313.16°)
OKLaboklab(18.2% 0.0515 -0.0697)
OKLCHoklch(18.2% 0.087 306.5)
XYZxyz(1.0136, 0.4955, 2.7310)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C022F #152F02
analogous
#06022F #1C022F #2F022C
triadic
#1C022F #2F1C02 #022F1C
tetradic
#1C022F #2F0602 #152F02 #022C2F
square
#1C022F #2F0602 #152F02 #022C2F
split-complementary
#1C022F #2C2F02 #022F06
monochromatic
#11011D #11011D #1C022F #3F046A #6207A4

Accessibility & contrast

On white

19.10
#1C022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C022F
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C022F#FFFFFF#000000##FFFFFF
##1C022F1.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#190D18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1c022f;
/* rgb */ color: rgb(28, 2, 47);
/* oklch */ color: oklch(18.2% 0.087 306.5);
Tailwind
colors: {
  custom: {
    50: '#5a4768',
    500: '#1c022f',
    950: '#000000',
  },
}
SCSS
$custom: #1c022f;
$custom-light: #5a4768;
$custom-dark: #000000;
JSON
{
  "hex": "#1c022f",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 274.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18196,
    "c": 0.08664,
    "h": 306.5
  },
  "luminance": 0.00496
}

Semantic roles & 50–950 ramp

primary
#1C022F
secondary
#3F7419
accent
#FF2983
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C022F

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

Preview Lab → · Contrast checker → · Palette generator →

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