#1C062C#1C062C

#1C062C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.074 H 307.3°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#1C062C
RGBrgb(28, 6, 44)
HSLhsl(275, 76%, 10%)
HSVhsv(275, 86%, 17%)
CMYKcmyk(36.4%, 86.4%, 0%, 82.7%)
CIE-LABlab(5.05, 18.78, -20.08)
CIE-LCHlch(5.05, 27.49, 313.08°)
OKLaboklab(18.67% 0.0452 -0.0592)
OKLCHoklch(18.67% 0.075 307.3)
XYZxyz(0.9985, 0.5590, 2.4377)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C062C #162C06
analogous
#09062C #1C062C #2C0629
triadic
#1C062C #2C1C06 #062C1C
tetradic
#1C062C #2C0906 #162C06 #06292C
square
#1C062C #2C0906 #162C06 #06292C
split-complementary
#1C062C #292C06 #062C09
monochromatic
#11041B #11041B #1C062C #3E0D62 #611598

Accessibility & contrast

On white

18.89
#1C062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C062C
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C062C#FFFFFF#000000##FFFFFF
##1C062C1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#00112B
Tritanopia (blue-blind)
#190E18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c062c;
/* rgb */ color: rgb(28, 6, 44);
/* oklch */ color: oklch(18.7% 0.074 307.3);
Tailwind
colors: {
  custom: {
    50: '#594965',
    500: '#1c062c',
    950: '#000000',
  },
}
SCSS
$custom: #1c062c;
$custom-light: #594965;
$custom-dark: #000000;
JSON
{
  "hex": "#1c062c",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 274.737,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1867,
    "c": 0.0745,
    "h": 307.3
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#1C062C
secondary
#416D21
accent
#F33585
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1C062C

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

Preview Lab → · Contrast checker → · Palette generator →

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