#1C043F#1C043F

#1C043F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.102 H 294.1°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#1C043F
RGBrgb(28, 4, 63)
HSLhsl(264, 88%, 13%)
HSVhsv(264, 94%, 25%)
CMYKcmyk(55.6%, 93.7%, 0%, 75.3%)
CIE-LABlab(6.26, 27.20, -32.09)
CIE-LCHlch(6.26, 42.06, 310.29°)
OKLaboklab(20.35% 0.0415 -0.0928)
OKLCHoklch(20.35% 0.102 294.1)
XYZxyz(1.4193, 0.6925, 4.7606)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C043F #273F04
analogous
#04093F #1C043F #39043F
triadic
#1C043F #3F1C04 #043F1C
tetradic
#1C043F #3F0409 #273F04 #043F39
square
#1C043F #3F0409 #273F04 #043F39
split-complementary
#1C043F #3F3904 #093F04
monochromatic
#0D021D #0D021D #1C043F #360879 #4F0BB2

Accessibility & contrast

On white

18.44
#1C043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1C043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C043F
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C043F#FFFFFF#000000##FFFFFF
##1C043F1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#111522
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c043f;
/* rgb */ color: rgb(28, 4, 63);
/* oklch */ color: oklch(20.4% 0.102 294.1);
Tailwind
colors: {
  custom: {
    50: '#5d4875',
    500: '#1c043f',
    950: '#000000',
  },
}
SCSS
$custom: #1c043f;
$custom-light: #5d4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1c043f",
  "rgb": {
    "r": 28,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 264.407,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20354,
    "c": 0.1017,
    "h": 294.1
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#1C043F
secondary
#59801E
accent
#FE2AA8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1C043F

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

Preview Lab → · Contrast checker → · Palette generator →

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