#1C062D#1C062D

#1C062D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.076 H 306.4°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#1C062D
RGBrgb(28, 6, 45)
HSLhsl(274, 76%, 10%)
HSVhsv(274, 87%, 18%)
CMYKcmyk(37.8%, 86.7%, 0%, 82.4%)
CIE-LABlab(5.12, 19.17, -20.72)
CIE-LCHlch(5.12, 28.23, 312.78°)
OKLaboklab(18.77% 0.045 -0.061)
OKLCHoklch(18.77% 0.076 306.4)
XYZxyz(1.0176, 0.5666, 2.5379)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C062D #172D06
analogous
#08062D #1C062D #2D062B
triadic
#1C062D #2D1C06 #062D1C
tetradic
#1C062D #2D0806 #172D06 #062B2D
square
#1C062D #2D0806 #172D06 #062B2D
split-complementary
#1C062D #2B2D06 #062D08
monochromatic
#11041B #11041B #1C062D #3E0D63 #5F1499

Accessibility & contrast

On white

18.86
#1C062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C062D
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C062D#FFFFFF#000000##FFFFFF
##1C062D1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#190F18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c062d;
/* rgb */ color: rgb(28, 6, 45);
/* oklch */ color: oklch(18.8% 0.076 306.4);
Tailwind
colors: {
  custom: {
    50: '#594966',
    500: '#1c062d',
    950: '#000000',
  },
}
SCSS
$custom: #1c062d;
$custom-light: #594966;
$custom-dark: #000000;
JSON
{
  "hex": "#1c062d",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 273.846,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.18766,
    "c": 0.0758,
    "h": 306.4
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#1C062D
secondary
#436E21
accent
#F33588
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C062D

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

Preview Lab → · Contrast checker → · Palette generator →

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