#1C082E#1C082E

#1C082E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.073 H 304.5°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#1C082E
RGBrgb(28, 8, 46)
HSLhsl(272, 70%, 11%)
HSVhsv(272, 83%, 18%)
CMYKcmyk(39.1%, 82.6%, 0%, 82%)
CIE-LABlab(5.58, 18.65, -20.73)
CIE-LCHlch(5.58, 27.89, 311.97°)
OKLaboklab(19.23% 0.0415 -0.0603)
OKLCHoklch(19.23% 0.073 304.5)
XYZxyz(1.0588, 0.6178, 2.6477)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C082E #1A2E08
analogous
#09082E #1C082E #2E082D
triadic
#1C082E #2E1C08 #082E1C
tetradic
#1C082E #2E0908 #1A2E08 #082D2E
square
#1C082E #2E0908 #1A2E08 #082D2E
split-complementary
#1C082E #2D2E08 #082E09
monochromatic
#10051A #10051A #1C082E #3C1162 #5B1A96

Accessibility & contrast

On white

18.69
#1C082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C082E
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C082E#FFFFFF#000000##FFFFFF
##1C082E1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#19101A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c082e;
/* rgb */ color: rgb(28, 8, 46);
/* oklch */ color: oklch(19.2% 0.073 304.5);
Tailwind
colors: {
  custom: {
    50: '#5a4a67',
    500: '#1c082e',
    950: '#000000',
  },
}
SCSS
$custom: #1c082e;
$custom-light: #5a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1c082e",
  "rgb": {
    "r": 28,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 271.579,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19226,
    "c": 0.07325,
    "h": 304.5
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#1C082E
secondary
#476D25
accent
#ED3B8F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1C082E

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

Preview Lab → · Contrast checker → · Palette generator →

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