#1C032C#1C032C

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

Color values

HEX#1C032C
RGBrgb(28, 3, 44)
HSLhsl(277, 87%, 9%)
HSVhsv(277, 93%, 17%)
CMYKcmyk(36.4%, 93.2%, 0%, 82.7%)
CIE-LABlab(4.46, 20.11, -21.01)
CIE-LCHlch(4.46, 29.08, 313.75°)
OKLaboklab(18.08% 0.0507 -0.0632)
OKLCHoklch(18.08% 0.081 308.8)
XYZxyz(0.9660, 0.4939, 2.4268)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C032C #132C03
analogous
#08032C #1C032C #2C0328
triadic
#1C032C #2C1C03 #032C1C
tetradic
#1C032C #2C0803 #132C03 #03282C
square
#1C032C #2C0803 #132C03 #03282C
split-complementary
#1C032C #282C03 #032C08
monochromatic
#12021D #12021D #1C032C #400765 #650B9F

Accessibility & contrast

On white

19.11
#1C032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C032C
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C032C#FFFFFF#000000##FFFFFF
##1C032C1.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#190C17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1c032c;
/* rgb */ color: rgb(28, 3, 44);
/* oklch */ color: oklch(18.1% 0.081 308.8);
Tailwind
colors: {
  custom: {
    50: '#594765',
    500: '#1c032c',
    950: '#000000',
  },
}
SCSS
$custom: #1c032c;
$custom-light: #594765;
$custom-dark: #000000;
JSON
{
  "hex": "#1c032c",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 276.585,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18084,
    "c": 0.08099,
    "h": 308.8
  },
  "luminance": 0.00494
}

Semantic roles & 50–950 ramp

primary
#1C032C
secondary
#3C701B
accent
#FD2A7D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1C032C

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

Preview Lab → · Contrast checker → · Palette generator →

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