#1C0843#1C0843

#1C0843 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.101 H 290.6°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#1C0843
RGBrgb(28, 8, 67)
HSLhsl(260, 79%, 15%)
HSVhsv(260, 88%, 26%)
CMYKcmyk(58.2%, 88.1%, 0%, 73.7%)
CIE-LABlab(7.46, 26.46, -32.97)
CIE-LCHlch(7.46, 42.27, 308.75°)
OKLaboklab(21.42% 0.0356 -0.0948)
OKLCHoklch(21.42% 0.101 290.6)
XYZxyz(1.5786, 0.8257, 5.3853)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0843 #2F4308
analogous
#081243 #1C0843 #3A0843
triadic
#1C0843 #431C08 #08431C
tetradic
#1C0843 #430812 #2F4308 #08433A
square
#1C0843 #430812 #2F4308 #08433A
split-complementary
#1C0843 #433A08 #124308
monochromatic
#0B031B #0B031B #1C0843 #330F7A #4A15B0

Accessibility & contrast

On white

18.02
#1C0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0843
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0843#FFFFFF#000000##FFFFFF
##1C08431.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#0E1925
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1c0843;
/* rgb */ color: rgb(28, 8, 67);
/* oklch */ color: oklch(21.4% 0.101 290.6);
Tailwind
colors: {
  custom: {
    50: '#5e4a78',
    500: '#1c0843',
    950: '#000000',
  },
}
SCSS
$custom: #1c0843;
$custom-light: #5e4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0843",
  "rgb": {
    "r": 28,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 260.339,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21416,
    "c": 0.1013,
    "h": 290.6
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#1C0843
secondary
#628125
accent
#F533B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0843

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

Preview Lab → · Contrast checker → · Palette generator →

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