#1C062A#1C062A

#1C062A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.072 H 309.3°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#1C062A
RGBrgb(28, 6, 42)
HSLhsl(277, 75%, 9%)
HSVhsv(277, 86%, 16%)
CMYKcmyk(33.3%, 85.7%, 0%, 83.5%)
CIE-LABlab(4.92, 17.99, -18.77)
CIE-LCHlch(4.92, 26.00, 313.78°)
OKLaboklab(18.48% 0.0456 -0.0557)
OKLCHoklch(18.48% 0.072 309.3)
XYZxyz(0.9618, 0.5443, 2.2444)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C062A #142A06
analogous
#0A062A #1C062A #2A0626
triadic
#1C062A #2A1C06 #062A1C
tetradic
#1C062A #2A0A06 #142A06 #06262A
square
#1C062A #2A0A06 #142A06 #06262A
split-complementary
#1C062A #262A06 #062A0A
monochromatic
#12041B #12041B #1C062A #400E60 #631595

Accessibility & contrast

On white

18.94
#1C062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1C062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C062A
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C062A#FFFFFF#000000##FFFFFF
##1C062A1.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#021129
Tritanopia (blue-blind)
#1A0D17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c062a;
/* rgb */ color: rgb(28, 6, 42);
/* oklch */ color: oklch(18.5% 0.072 309.3);
Tailwind
colors: {
  custom: {
    50: '#594964',
    500: '#1c062a',
    950: '#000000',
  },
}
SCSS
$custom: #1c062a;
$custom-light: #594964;
$custom-dark: #000000;
JSON
{
  "hex": "#1c062a",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 276.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18484,
    "c": 0.07193,
    "h": 309.3
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#1C062A
secondary
#3E6B21
accent
#F2367F
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #1C062A

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

Preview Lab → · Contrast checker → · Palette generator →

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