#1C0844#1C0844

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

Color values

HEX#1C0844
RGBrgb(28, 8, 68)
HSLhsl(260, 79%, 15%)
HSVhsv(260, 88%, 27%)
CMYKcmyk(58.8%, 88.2%, 0%, 73.3%)
CIE-LABlab(7.57, 26.79, -33.50)
CIE-LCHlch(7.57, 42.89, 308.65°)
OKLaboklab(21.53% 0.0353 -0.0963)
OKLCHoklch(21.53% 0.103 290.1)
XYZxyz(1.6088, 0.8378, 5.5447)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0844 #304408
analogous
#081244 #1C0844 #3A0844
triadic
#1C0844 #441C08 #08441C
tetradic
#1C0844 #440812 #304408 #08443A
square
#1C0844 #440812 #304408 #08443A
split-complementary
#1C0844 #443A08 #124408
monochromatic
#0B031B #0B031B #1C0844 #330E7B #4915B2

Accessibility & contrast

On white

17.99
#1C0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1C0844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0844
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0844#FFFFFF#000000##FFFFFF
##1C08441.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#0D1926
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1c0844;
/* rgb */ color: rgb(28, 8, 68);
/* oklch */ color: oklch(21.5% 0.103 290.1);
Tailwind
colors: {
  custom: {
    50: '#5e4a79',
    500: '#1c0844',
    950: '#000000',
  },
}
SCSS
$custom: #1c0844;
$custom-light: #5e4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0844",
  "rgb": {
    "r": 28,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 260,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2153,
    "c": 0.1026,
    "h": 290.1
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#1C0844
secondary
#638226
accent
#F532B4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0844

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

Preview Lab → · Contrast checker → · Palette generator →

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