#10062B#10062B

#10062B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.071 H 289.4°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#10062B
RGBrgb(16, 6, 43)
HSLhsl(256, 76%, 10%)
HSVhsv(256, 86%, 17%)
CMYKcmyk(62.8%, 86%, 0%, 83.1%)
CIE-LABlab(3.75, 13.13, -21.46)
CIE-LCHlch(3.75, 25.16, 301.45°)
OKLaboklab(16.84% 0.0236 -0.0671)
OKLCHoklch(16.84% 0.071 289.4)
XYZxyz(0.7147, 0.4148, 2.3274)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10062B #212B06
analogous
#060F2B #10062B #23062B
triadic
#10062B #2B1006 #062B10
tetradic
#10062B #2B060F #212B06 #062B23
square
#10062B #2B060F #212B06 #062B23
split-complementary
#10062B #2B2306 #0F2B06
monochromatic
#0A041B #0A041B #10062B #240D61 #381596

Accessibility & contrast

On white

19.39
#10062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10062B
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10062B#FFFFFF#000000##FFFFFF
##10062B1.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10062b;
/* rgb */ color: rgb(16, 6, 43);
/* oklch */ color: oklch(16.8% 0.071 289.4);
Tailwind
colors: {
  custom: {
    50: '#504964',
    500: '#10062b',
    950: '#000000',
  },
}
SCSS
$custom: #10062b;
$custom-light: #504964;
$custom-dark: #000000;
JSON
{
  "hex": "#10062b",
  "rgb": {
    "r": 16,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 256.216,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16843,
    "c": 0.07114,
    "h": 289.4
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#10062B
secondary
#576C21
accent
#F236BF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #10062B

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

Preview Lab → · Contrast checker → · Palette generator →

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