#1C0432#1C0432

#1C0432 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.086 H 303.0°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#1C0432
RGBrgb(28, 4, 50)
HSLhsl(271, 85%, 11%)
HSVhsv(271, 92%, 20%)
CMYKcmyk(44%, 92%, 0%, 80.4%)
CIE-LABlab(5.09, 22.10, -24.49)
CIE-LCHlch(5.09, 32.99, 312.07°)
OKLaboklab(18.9% 0.0469 -0.0721)
OKLCHoklch(18.9% 0.086 303)
XYZxyz(1.0979, 0.5640, 3.0680)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0432 #1A3204
analogous
#050432 #1C0432 #320431
triadic
#1C0432 #321C04 #04321C
tetradic
#1C0432 #320504 #1A3204 #043132
square
#1C0432 #320504 #1A3204 #043132
split-complementary
#1C0432 #313204 #043205
monochromatic
#10021C #10021C #1C0432 #3C096B #5B0DA3

Accessibility & contrast

On white

18.87
#1C0432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0432
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0432#FFFFFF#000000##FFFFFF
##1C04321.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0432;
/* rgb */ color: rgb(28, 4, 50);
/* oklch */ color: oklch(18.9% 0.086 303.0);
Tailwind
colors: {
  custom: {
    50: '#5a476a',
    500: '#1c0432',
    950: '#000000',
  },
}
SCSS
$custom: #1c0432;
$custom-light: #5a476a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0432",
  "rgb": {
    "r": 28,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 271.304,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18898,
    "c": 0.086,
    "h": 303
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#1C0432
secondary
#47741D
accent
#FB2C8F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C0432

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

Preview Lab → · Contrast checker → · Palette generator →

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