#1C0332#1C0332

#1C0332 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.088 H 303.5°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#1C0332
RGBrgb(28, 3, 50)
HSLhsl(272, 89%, 10%)
HSVhsv(272, 94%, 20%)
CMYKcmyk(44%, 94%, 0%, 80.4%)
CIE-LABlab(4.90, 22.57, -24.80)
CIE-LCHlch(4.90, 33.54, 312.30°)
OKLaboklab(18.71% 0.0485 -0.0734)
OKLCHoklch(18.71% 0.088 303.5)
XYZxyz(1.0870, 0.5423, 3.0644)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0332 #193203
analogous
#050332 #1C0332 #320330
triadic
#1C0332 #321C03 #03321C
tetradic
#1C0332 #320503 #193203 #033032
square
#1C0332 #320503 #193203 #033032
split-complementary
#1C0332 #303203 #033205
monochromatic
#10021D #10021D #1C0332 #3C066C #5D0AA5

Accessibility & contrast

On white

18.95
#1C0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1C0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0332
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0332#FFFFFF#000000##FFFFFF
##1C03321.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#170F1A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c0332;
/* rgb */ color: rgb(28, 3, 50);
/* oklch */ color: oklch(18.7% 0.088 303.5);
Tailwind
colors: {
  custom: {
    50: '#5a476a',
    500: '#1c0332',
    950: '#000000',
  },
}
SCSS
$custom: #1c0332;
$custom-light: #5a476a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0332",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 271.915,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18712,
    "c": 0.08796,
    "h": 303.5
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#1C0332
secondary
#46751B
accent
#FF298D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C0332

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

Preview Lab → · Contrast checker → · Palette generator →

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