#1C0841#1C0841

#1C0841 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.099 H 291.6°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#1C0841
RGBrgb(28, 8, 65)
HSLhsl(261, 78%, 14%)
HSVhsv(261, 88%, 25%)
CMYKcmyk(56.9%, 87.7%, 0%, 74.5%)
CIE-LABlab(7.25, 25.77, -31.90)
CIE-LCHlch(7.25, 41.00, 308.93°)
OKLaboklab(21.19% 0.0364 -0.0917)
OKLCHoklch(21.19% 0.099 291.6)
XYZxyz(1.5196, 0.8021, 5.0748)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0841 #2D4108
analogous
#081141 #1C0841 #390841
triadic
#1C0841 #411C08 #08411C
tetradic
#1C0841 #410811 #2D4108 #084139
square
#1C0841 #410811 #2D4108 #084139
split-complementary
#1C0841 #413908 #114108
monochromatic
#0C031B #0C031B #1C0841 #330F77 #4B15AE

Accessibility & contrast

On white

18.10
#1C0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0841
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0841#FFFFFF#000000##FFFFFF
##1C08411.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#0F1824
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1c0841;
/* rgb */ color: rgb(28, 8, 65);
/* oklch */ color: oklch(21.2% 0.099 291.6);
Tailwind
colors: {
  custom: {
    50: '#5d4a76',
    500: '#1c0841',
    950: '#000000',
  },
}
SCSS
$custom: #1c0841;
$custom-light: #5d4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0841",
  "rgb": {
    "r": 28,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 261.053,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21191,
    "c": 0.09868,
    "h": 291.6
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#1C0841
secondary
#607F25
accent
#F533B1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1C0841

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

Preview Lab → · Contrast checker → · Palette generator →

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