#1C0440#1C0440

#1C0440 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.103 H 293.5°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#1C0440
RGBrgb(28, 4, 64)
HSLhsl(264, 88%, 13%)
HSVhsv(264, 94%, 25%)
CMYKcmyk(56.2%, 93.8%, 0%, 74.9%)
CIE-LABlab(6.36, 27.57, -32.64)
CIE-LCHlch(6.36, 42.72, 310.19°)
OKLaboklab(20.47% 0.0411 -0.0944)
OKLCHoklch(20.47% 0.103 293.5)
XYZxyz(1.4475, 0.7038, 4.9091)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0440 #284004
analogous
#040A40 #1C0440 #3A0440
triadic
#1C0440 #401C04 #04401C
tetradic
#1C0440 #40040A #284004 #04403A
square
#1C0440 #40040A #284004 #04403A
split-complementary
#1C0440 #403A04 #0A4004
monochromatic
#0D021D #0D021D #1C0440 #35087A #4E0BB3

Accessibility & contrast

On white

18.41
#1C0440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0440
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0440#FFFFFF#000000##FFFFFF
##1C04401.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#101623
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c0440;
/* rgb */ color: rgb(28, 4, 64);
/* oklch */ color: oklch(20.5% 0.103 293.5);
Tailwind
colors: {
  custom: {
    50: '#5d4875',
    500: '#1c0440',
    950: '#000000',
  },
}
SCSS
$custom: #1c0440;
$custom-light: #5d4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0440",
  "rgb": {
    "r": 28,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 264,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20471,
    "c": 0.10291,
    "h": 293.5
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#1C0440
secondary
#5A811F
accent
#FE29A9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1C0440

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

Preview Lab → · Contrast checker → · Palette generator →

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