#1C0547#1C0547

#1C0547 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.110 H 289.6°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#1C0547
RGBrgb(28, 5, 71)
HSLhsl(261, 87%, 15%)
HSVhsv(261, 93%, 28%)
CMYKcmyk(60.6%, 93%, 0%, 72.2%)
CIE-LABlab(7.32, 29.48, -36.02)
CIE-LCHlch(7.32, 46.54, 309.29°)
OKLaboklab(21.46% 0.0369 -0.1037)
OKLCHoklch(21.46% 0.11 289.6)
XYZxyz(1.6702, 0.8103, 6.0284)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0547 #304705
analogous
#050F47 #1C0547 #3D0547
triadic
#1C0547 #471C05 #05471C
tetradic
#1C0547 #47050F #304705 #05473D
square
#1C0547 #47050F #304705 #05473D
split-complementary
#1C0547 #473D05 #0F4705
monochromatic
#0B021D #0B021D #1C0547 #330980 #490DB9

Accessibility & contrast

On white

18.07
#1C0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0547
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0547#FFFFFF#000000##FFFFFF
##1C05471.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#0B1927
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1c0547;
/* rgb */ color: rgb(28, 5, 71);
/* oklch */ color: oklch(21.5% 0.110 289.6);
Tailwind
colors: {
  custom: {
    50: '#5f487b',
    500: '#1c0547',
    950: '#000000',
  },
}
SCSS
$custom: #1c0547;
$custom-light: #5f487b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0547",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 260.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21457,
    "c": 0.11008,
    "h": 289.6
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#1C0547
secondary
#638721
accent
#FD2BB4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0547

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

Preview Lab → · Contrast checker → · Palette generator →

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