#1C0541#1C0541

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

Color values

HEX#1C0541
RGBrgb(28, 5, 65)
HSLhsl(263, 86%, 14%)
HSVhsv(263, 92%, 25%)
CMYKcmyk(56.9%, 92.3%, 0%, 74.5%)
CIE-LABlab(6.66, 27.39, -32.86)
CIE-LCHlch(6.66, 42.78, 309.82°)
OKLaboklab(20.74% 0.0395 -0.0948)
OKLCHoklch(20.74% 0.103 292.6)
XYZxyz(1.4870, 0.7370, 5.0639)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0541 #2A4105
analogous
#050C41 #1C0541 #3A0541
triadic
#1C0541 #411C05 #05411C
tetradic
#1C0541 #41050C #2A4105 #05413A
square
#1C0541 #41050C #2A4105 #05413A
split-complementary
#1C0541 #413A05 #0C4105
monochromatic
#0C021C #0C021C #1C0541 #34097A #4D0EB3

Accessibility & contrast

On white

18.30
#1C0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1C0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0541
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0541#FFFFFF#000000##FFFFFF
##1C05411.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#101723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1c0541;
/* rgb */ color: rgb(28, 5, 65);
/* oklch */ color: oklch(20.7% 0.103 292.6);
Tailwind
colors: {
  custom: {
    50: '#5e4876',
    500: '#1c0541',
    950: '#000000',
  },
}
SCSS
$custom: #1c0541;
$custom-light: #5e4876;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0541",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 263,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20743,
    "c": 0.10271,
    "h": 292.6
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#1C0541
secondary
#5C8120
accent
#FC2CAC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1C0541

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

Preview Lab → · Contrast checker → · Palette generator →

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