#1C0232#1C0232

#1C0232 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.090 H 303.9°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#1C0232
RGBrgb(28, 2, 50)
HSLhsl(273, 92%, 10%)
HSVhsv(273, 96%, 20%)
CMYKcmyk(44%, 96%, 0%, 80.4%)
CIE-LABlab(4.70, 23.04, -25.12)
CIE-LCHlch(4.70, 34.09, 312.53°)
OKLaboklab(18.52% 0.0502 -0.0747)
OKLCHoklch(18.52% 0.09 303.9)
XYZxyz(1.0762, 0.5206, 3.0608)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0232 #183202
analogous
#040232 #1C0232 #320230
triadic
#1C0232 #321C02 #02321C
tetradic
#1C0232 #320402 #183202 #023032
square
#1C0232 #320402 #183202 #023032
split-complementary
#1C0232 #303202 #023204
monochromatic
#10011D #10011D #1C0232 #3D046D #5E07A8

Accessibility & contrast

On white

19.02
#1C0232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0232
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0232#FFFFFF#000000##FFFFFF
##1C02321.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#170E1A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1c0232;
/* rgb */ color: rgb(28, 2, 50);
/* oklch */ color: oklch(18.5% 0.090 303.9);
Tailwind
colors: {
  custom: {
    50: '#5a466a',
    500: '#1c0232',
    950: '#000000',
  },
}
SCSS
$custom: #1c0232;
$custom-light: #5a466a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0232",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 272.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18522,
    "c": 0.09,
    "h": 303.9
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#1C0232
secondary
#447619
accent
#FF298B
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C0232

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

Preview Lab → · Contrast checker → · Palette generator →

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