#1C032D#1C032D

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

Color values

HEX#1C032D
RGBrgb(28, 3, 45)
HSLhsl(276, 88%, 9%)
HSVhsv(276, 93%, 18%)
CMYKcmyk(37.8%, 93.3%, 0%, 82.4%)
CIE-LABlab(4.53, 20.52, -21.65)
CIE-LCHlch(4.53, 29.83, 313.46°)
OKLaboklab(18.19% 0.0504 -0.0649)
OKLCHoklch(18.19% 0.082 307.8)
XYZxyz(0.9850, 0.5015, 2.5270)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C032D #142D03
analogous
#07032D #1C032D #2D0329
triadic
#1C032D #2D1C03 #032D1C
tetradic
#1C032D #2D0703 #142D03 #03292D
square
#1C032D #2D0703 #142D03 #03292D
split-complementary
#1C032D #292D03 #032D07
monochromatic
#12021D #12021D #1C032D #400766 #630BA0

Accessibility & contrast

On white

19.09
#1C032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C032D
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C032D#FFFFFF#000000##FFFFFF
##1C032D1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#190C17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1c032d;
/* rgb */ color: rgb(28, 3, 45);
/* oklch */ color: oklch(18.2% 0.082 307.8);
Tailwind
colors: {
  custom: {
    50: '#594766',
    500: '#1c032d',
    950: '#000000',
  },
}
SCSS
$custom: #1c032d;
$custom-light: #594766;
$custom-dark: #000000;
JSON
{
  "hex": "#1c032d",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 275.714,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18186,
    "c": 0.08215,
    "h": 307.8
  },
  "luminance": 0.00501
}

Semantic roles & 50–950 ramp

primary
#1C032D
secondary
#3E711B
accent
#FE2A80
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C032D

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

Preview Lab → · Contrast checker → · Palette generator →

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