#1C0239#1C0239

#1C0239 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.098 H 298.7°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#1C0239
RGBrgb(28, 2, 57)
HSLhsl(268, 93%, 12%)
HSVhsv(268, 96%, 22%)
CMYKcmyk(50.9%, 96.5%, 0%, 77.6%)
CIE-LABlab(5.29, 25.90, -29.32)
CIE-LCHlch(5.29, 39.12, 311.46°)
OKLaboklab(19.32% 0.047 -0.0859)
OKLCHoklch(19.32% 0.098 298.7)
XYZxyz(1.2389, 0.5857, 3.9179)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0239 #1F3902
analogous
#020339 #1C0239 #380239
triadic
#1C0239 #391C02 #02391C
tetradic
#1C0239 #390203 #1F3902 #023938
square
#1C0239 #390203 #1F3902 #023938
split-complementary
#1C0239 #393802 #033902
monochromatic
#0F011E #0F011E #1C0239 #390474 #5606AF

Accessibility & contrast

On white

18.80
#1C0239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1C0239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0239
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0239#FFFFFF#000000##FFFFFF
##1C02391.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#14111E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c0239;
/* rgb */ color: rgb(28, 2, 57);
/* oklch */ color: oklch(19.3% 0.098 298.7);
Tailwind
colors: {
  custom: {
    50: '#5c4670',
    500: '#1c0239',
    950: '#000000',
  },
}
SCSS
$custom: #1c0239;
$custom-light: #5c4670;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0239",
  "rgb": {
    "r": 28,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 268.364,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19318,
    "c": 0.09789,
    "h": 298.7
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#1C0239
secondary
#4E7D1A
accent
#FF299A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0239

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

Preview Lab → · Contrast checker → · Palette generator →

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