#1C043B#1C043B

#1C043B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.097 H 296.5°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#1C043B
RGBrgb(28, 4, 59)
HSLhsl(266, 87%, 12%)
HSVhsv(266, 93%, 23%)
CMYKcmyk(52.5%, 93.2%, 0%, 76.9%)
CIE-LABlab(5.87, 25.68, -29.84)
CIE-LCHlch(5.87, 39.37, 310.71°)
OKLaboklab(19.89% 0.0433 -0.0867)
OKLCHoklch(19.89% 0.097 296.5)
XYZxyz(1.3115, 0.6494, 4.1931)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C043B #233B04
analogous
#04073B #1C043B #38043B
triadic
#1C043B #3B1C04 #043B1C
tetradic
#1C043B #3B0407 #233B04 #043B38
square
#1C043B #3B0407 #233B04 #043B38
split-complementary
#1C043B #3B3804 #073B04
monochromatic
#0E021D #0E021D #1C043B #370874 #520CAE

Accessibility & contrast

On white

18.59
#1C043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1C043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C043B
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C043B#FFFFFF#000000##FFFFFF
##1C043B1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#131320
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1c043b;
/* rgb */ color: rgb(28, 4, 59);
/* oklch */ color: oklch(19.9% 0.097 296.5);
Tailwind
colors: {
  custom: {
    50: '#5c4771',
    500: '#1c043b',
    950: '#000000',
  },
}
SCSS
$custom: #1c043b;
$custom-light: #5c4771;
$custom-dark: #000000;
JSON
{
  "hex": "#1c043b",
  "rgb": {
    "r": 28,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 266.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1989,
    "c": 0.09688,
    "h": 296.5
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#1C043B
secondary
#537D1E
accent
#FD2AA1
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #1C043B

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

Preview Lab → · Contrast checker → · Palette generator →

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