#1C0835#1C0835

#1C0835 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.083 H 299.0°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#1C0835
RGBrgb(28, 8, 53)
HSLhsl(267, 74%, 12%)
HSVhsv(267, 85%, 21%)
CMYKcmyk(47.2%, 84.9%, 0%, 79.2%)
CIE-LABlab(6.12, 21.34, -25.05)
CIE-LCHlch(6.12, 32.91, 310.43°)
OKLaboklab(19.91% 0.0401 -0.0724)
OKLCHoklch(19.91% 0.083 299)
XYZxyz(1.2082, 0.6776, 3.4346)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0835 #213508
analogous
#080B35 #1C0835 #330835
triadic
#1C0835 #351C08 #08351C
tetradic
#1C0835 #35080B #213508 #083533
square
#1C0835 #35080B #213508 #083533
split-complementary
#1C0835 #353308 #0B3508
monochromatic
#0E041B #0E041B #1C0835 #38106A #54189F

Accessibility & contrast

On white

18.49
#1C0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1C0835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0835
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0835#FFFFFF#000000##FFFFFF
##1C08351.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#16131D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c0835;
/* rgb */ color: rgb(28, 8, 53);
/* oklch */ color: oklch(19.9% 0.083 299.0);
Tailwind
colors: {
  custom: {
    50: '#5b4a6d',
    500: '#1c0835',
    950: '#000000',
  },
}
SCSS
$custom: #1c0835;
$custom-light: #5b4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0835",
  "rgb": {
    "r": 28,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 266.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19908,
    "c": 0.08275,
    "h": 299
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#1C0835
secondary
#517425
accent
#F0379E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1C0835

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

Preview Lab → · Contrast checker → · Palette generator →

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