#1C0230#1C0230

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

Color values

HEX#1C0230
RGBrgb(28, 2, 48)
HSLhsl(274, 92%, 10%)
HSVhsv(274, 96%, 19%)
CMYKcmyk(41.7%, 95.8%, 0%, 81.2%)
CIE-LABlab(4.55, 22.21, -23.87)
CIE-LCHlch(4.55, 32.61, 312.94°)
OKLaboklab(18.3% 0.0511 -0.0713)
OKLCHoklch(18.3% 0.088 305.6)
XYZxyz(1.0340, 0.5037, 2.8385)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0230 #163002
analogous
#050230 #1C0230 #30022D
triadic
#1C0230 #301C02 #02301C
tetradic
#1C0230 #300502 #163002 #022D30
square
#1C0230 #300502 #163002 #022D30
split-complementary
#1C0230 #2D3002 #023005
monochromatic
#11011D #11011D #1C0230 #3E046B #6107A6

Accessibility & contrast

On white

19.08
#1C0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0230
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0230#FFFFFF#000000##FFFFFF
##1C02301.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#180D19
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1c0230;
/* rgb */ color: rgb(28, 2, 48);
/* oklch */ color: oklch(18.3% 0.088 305.6);
Tailwind
colors: {
  custom: {
    50: '#5a4669',
    500: '#1c0230',
    950: '#000000',
  },
}
SCSS
$custom: #1c0230;
$custom-light: #5a4669;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0230",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 273.913,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18304,
    "c": 0.08776,
    "h": 305.6
  },
  "luminance": 0.00504
}

Semantic roles & 50–950 ramp

primary
#1C0230
secondary
#417519
accent
#FF2986
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C0230

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

Preview Lab → · Contrast checker → · Palette generator →

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