#1C0546#1C0546

#1C0546 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.109 H 290.0°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#1C0546
RGBrgb(28, 5, 70)
HSLhsl(261, 87%, 15%)
HSVhsv(261, 93%, 27%)
CMYKcmyk(60%, 92.9%, 0%, 72.5%)
CIE-LABlab(7.20, 29.14, -35.51)
CIE-LCHlch(7.20, 45.94, 309.38°)
OKLaboklab(21.34% 0.0373 -0.1023)
OKLCHoklch(21.34% 0.109 290)
XYZxyz(1.6383, 0.7975, 5.8608)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0546 #2F4605
analogous
#050E46 #1C0546 #3D0546
triadic
#1C0546 #461C05 #05461C
tetradic
#1C0546 #46050E #2F4605 #05463D
square
#1C0546 #46050E #2F4605 #05463D
split-complementary
#1C0546 #463D05 #0E4605
monochromatic
#0B021D #0B021D #1C0546 #33097F #4A0DB8

Accessibility & contrast

On white

18.11
#1C0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1C0546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0546
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0546#FFFFFF#000000##FFFFFF
##1C05461.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#0C1926
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1c0546;
/* rgb */ color: rgb(28, 5, 70);
/* oklch */ color: oklch(21.3% 0.109 290.0);
Tailwind
colors: {
  custom: {
    50: '#5f487a',
    500: '#1c0546',
    950: '#000000',
  },
}
SCSS
$custom: #1c0546;
$custom-light: #5f487a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0546",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 261.231,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21336,
    "c": 0.10886,
    "h": 290
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#1C0546
secondary
#628621
accent
#FD2BB3
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0546

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

Preview Lab → · Contrast checker → · Palette generator →

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