#1C062F#1C062F

#1C062F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.078 H 304.6°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#1C062F
RGBrgb(28, 6, 47)
HSLhsl(272, 77%, 10%)
HSVhsv(272, 87%, 18%)
CMYKcmyk(40.4%, 87.2%, 0%, 81.6%)
CIE-LABlab(5.26, 19.96, -21.99)
CIE-LCHlch(5.26, 29.70, 312.23°)
OKLaboklab(18.96% 0.0445 -0.0645)
OKLCHoklch(18.96% 0.078 304.6)
XYZxyz(1.0570, 0.5824, 2.7455)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C062F #192F06
analogous
#07062F #1C062F #2F062D
triadic
#1C062F #2F1C06 #062F1C
tetradic
#1C062F #2F0706 #192F06 #062D2F
square
#1C062F #2F0706 #192F06 #062D2F
split-complementary
#1C062F #2D2F06 #062F07
monochromatic
#10031B #10031B #1C062F #3C0D65 #5D149C

Accessibility & contrast

On white

18.81
#1C062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C062F
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C062F#FFFFFF#000000##FFFFFF
##1C062F1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#181019
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c062f;
/* rgb */ color: rgb(28, 6, 47);
/* oklch */ color: oklch(19.0% 0.078 304.6);
Tailwind
colors: {
  custom: {
    50: '#5a4968',
    500: '#1c062f',
    950: '#000000',
  },
}
SCSS
$custom: #1c062f;
$custom-light: #5a4968;
$custom-dark: #000000;
JSON
{
  "hex": "#1c062f",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 272.195,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1896,
    "c": 0.07838,
    "h": 304.6
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#1C062F
secondary
#467021
accent
#F4348D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C062F

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

Preview Lab → · Contrast checker → · Palette generator →

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