#1C0538#1C0538

#1C0538 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.092 H 298.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#1C0538
RGBrgb(28, 5, 56)
HSLhsl(267, 84%, 12%)
HSVhsv(267, 91%, 22%)
CMYKcmyk(50%, 91.1%, 0%, 78%)
CIE-LABlab(5.79, 24.00, -27.78)
CIE-LCHlch(5.79, 36.72, 310.82°)
OKLaboklab(19.72% 0.0432 -0.0807)
OKLCHoklch(19.72% 0.092 298.1)
XYZxyz(1.2468, 0.6409, 3.7986)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0538 #213805
analogous
#050738 #1C0538 #360538
triadic
#1C0538 #381C05 #05381C
tetradic
#1C0538 #380507 #213805 #053836
square
#1C0538 #380507 #213805 #053836
split-complementary
#1C0538 #383605 #073805
monochromatic
#0E031C #0E031C #1C0538 #380A70 #540FA8

Accessibility & contrast

On white

18.61
#1C0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1C0538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0538
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0538#FFFFFF#000000##FFFFFF
##1C05381.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#15131E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1c0538;
/* rgb */ color: rgb(28, 5, 56);
/* oklch */ color: oklch(19.7% 0.092 298.1);
Tailwind
colors: {
  custom: {
    50: '#5c486f',
    500: '#1c0538',
    950: '#000000',
  },
}
SCSS
$custom: #1c0538;
$custom-light: #5c486f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0538",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 267.059,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19722,
    "c": 0.09157,
    "h": 298.1
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#1C0538
secondary
#517920
accent
#FA2E9E
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0538

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

Preview Lab → · Contrast checker → · Palette generator →

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