#1C082A#1C082A

#1C082A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.068 H 308.3°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#1C082A
RGBrgb(28, 8, 42)
HSLhsl(275, 68%, 10%)
HSVhsv(275, 81%, 16%)
CMYKcmyk(33.3%, 81%, 0%, 83.5%)
CIE-LABlab(5.31, 17.11, -18.16)
CIE-LCHlch(5.31, 24.95, 313.30°)
OKLaboklab(18.86% 0.042 -0.0532)
OKLCHoklch(18.86% 0.068 308.3)
XYZxyz(0.9836, 0.5877, 2.2517)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C082A #162A08
analogous
#0B082A #1C082A #2A0827
triadic
#1C082A #2A1C08 #082A1C
tetradic
#1C082A #2A0B08 #162A08 #08272A
square
#1C082A #2A0B08 #162A08 #08272A
split-complementary
#1C082A #272A08 #082A0B
monochromatic
#11051A #11051A #1C082A #3E125D #611C91

Accessibility & contrast

On white

18.79
#1C082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C082A
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C082A#FFFFFF#000000##FFFFFF
##1C082A1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#041229
Tritanopia (blue-blind)
#1A0F17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c082a;
/* rgb */ color: rgb(28, 8, 42);
/* oklch */ color: oklch(18.9% 0.068 308.3);
Tailwind
colors: {
  custom: {
    50: '#594a63',
    500: '#1c082a',
    950: '#000000',
  },
}
SCSS
$custom: #1c082a;
$custom-light: #594a63;
$custom-dark: #000000;
JSON
{
  "hex": "#1c082a",
  "rgb": {
    "r": 28,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 275.294,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18862,
    "c": 0.06779,
    "h": 308.3
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#1C082A
secondary
#416925
accent
#EB3D85
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #1C082A

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

Preview Lab → · Contrast checker → · Palette generator →

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