#10062A#10062A

#10062A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.7% C 0.070 H 290.1°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#10062A
RGBrgb(16, 6, 42)
HSLhsl(257, 75%, 9%)
HSVhsv(257, 86%, 16%)
CMYKcmyk(61.9%, 85.7%, 0%, 83.5%)
CIE-LABlab(3.68, 12.67, -20.80)
CIE-LCHlch(3.68, 24.36, 301.34°)
OKLaboklab(16.73% 0.0239 -0.0654)
OKLCHoklch(16.73% 0.07 290.1)
XYZxyz(0.6966, 0.4075, 2.2320)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10062A #202A06
analogous
#060E2A #10062A #22062A
triadic
#10062A #2A1006 #062A10
tetradic
#10062A #2A060E #202A06 #062A22
square
#10062A #2A060E #202A06 #062A22
split-complementary
#10062A #2A2206 #0E2A06
monochromatic
#0A041B #0A041B #10062A #240E60 #391595

Accessibility & contrast

On white

19.42
#10062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#10062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10062A
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10062A#FFFFFF#000000##FFFFFF
##10062A1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#070F17
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #10062a;
/* rgb */ color: rgb(16, 6, 42);
/* oklch */ color: oklch(16.7% 0.070 290.1);
Tailwind
colors: {
  custom: {
    50: '#4f4964',
    500: '#10062a',
    950: '#000000',
  },
}
SCSS
$custom: #10062a;
$custom-light: #4f4964;
$custom-dark: #000000;
JSON
{
  "hex": "#10062a",
  "rgb": {
    "r": 16,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 256.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16731,
    "c": 0.06962,
    "h": 290.1
  },
  "luminance": 0.00408
}

Semantic roles & 50–950 ramp

primary
#10062A
secondary
#566B21
accent
#F236BE
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #10062A

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

Preview Lab → · Contrast checker → · Palette generator →

#10062A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva