#1C0535#1C0535

#1C0535 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.088 H 300.3°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#1C0535
RGBrgb(28, 5, 53)
HSLhsl(269, 83%, 11%)
HSVhsv(269, 91%, 21%)
CMYKcmyk(47.2%, 90.6%, 0%, 79.2%)
CIE-LABlab(5.53, 22.82, -26.00)
CIE-LCHlch(5.53, 34.60, 311.27°)
OKLaboklab(19.4% 0.0443 -0.0758)
OKLCHoklch(19.4% 0.088 300.3)
XYZxyz(1.1756, 0.6124, 3.4237)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0535 #1E3505
analogous
#050635 #1C0535 #340535
triadic
#1C0535 #351C05 #05351C
tetradic
#1C0535 #350506 #1E3505 #053534
square
#1C0535 #350506 #1E3505 #053534
split-complementary
#1C0535 #353405 #063505
monochromatic
#0F031C #0F031C #1C0535 #3A0A6D #5710A5

Accessibility & contrast

On white

18.71
#1C0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1C0535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0535
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0535#FFFFFF#000000##FFFFFF
##1C05351.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#16111C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c0535;
/* rgb */ color: rgb(28, 5, 53);
/* oklch */ color: oklch(19.4% 0.088 300.3);
Tailwind
colors: {
  custom: {
    50: '#5b486d',
    500: '#1c0535',
    950: '#000000',
  },
}
SCSS
$custom: #1c0535;
$custom-light: #5b486d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0535",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 268.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19397,
    "c": 0.08783,
    "h": 300.3
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#1C0535
secondary
#4D7620
accent
#F92F98
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0535

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

Preview Lab → · Contrast checker → · Palette generator →

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