#1C0231#1C0231

#1C0231 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.089 H 304.8°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#1C0231
RGBrgb(28, 2, 49)
HSLhsl(273, 92%, 10%)
HSVhsv(273, 96%, 19%)
CMYKcmyk(42.9%, 95.9%, 0%, 80.8%)
CIE-LABlab(4.62, 22.63, -24.50)
CIE-LCHlch(4.62, 33.35, 312.73°)
OKLaboklab(18.41% 0.0507 -0.073)
OKLCHoklch(18.41% 0.089 304.8)
XYZxyz(1.0548, 0.5120, 2.9484)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0231 #173102
analogous
#040231 #1C0231 #31022F
triadic
#1C0231 #311C02 #02311C
tetradic
#1C0231 #310402 #173102 #022F31
square
#1C0231 #310402 #173102 #022F31
split-complementary
#1C0231 #2F3102 #023104
monochromatic
#11011D #11011D #1C0231 #3E046C #5F07A7

Accessibility & contrast

On white

19.05
#1C0231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0231
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0231#FFFFFF#000000##FFFFFF
##1C02311.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#180D19
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1c0231;
/* rgb */ color: rgb(28, 2, 49);
/* oklch */ color: oklch(18.4% 0.089 304.8);
Tailwind
colors: {
  custom: {
    50: '#5a4669',
    500: '#1c0231',
    950: '#000000',
  },
}
SCSS
$custom: #1c0231;
$custom-light: #5a4669;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0231",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 273.191,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.18412,
    "c": 0.08887,
    "h": 304.8
  },
  "luminance": 0.00512
}

Semantic roles & 50–950 ramp

primary
#1C0231
secondary
#437519
accent
#FF2989
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C0231

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

Preview Lab → · Contrast checker → · Palette generator →

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