#10062C#10062C

#10062C is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.073 H 288.8°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#10062C
RGBrgb(16, 6, 44)
HSLhsl(256, 76%, 10%)
HSVhsv(256, 86%, 17%)
CMYKcmyk(63.6%, 86.4%, 0%, 82.7%)
CIE-LABlab(3.81, 13.60, -22.11)
CIE-LCHlch(3.81, 25.96, 301.60°)
OKLaboklab(16.96% 0.0234 -0.0688)
OKLCHoklch(16.96% 0.073 288.8)
XYZxyz(0.7333, 0.4222, 2.4252)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10062C #222C06
analogous
#060F2C #10062C #23062C
triadic
#10062C #2C1006 #062C10
tetradic
#10062C #2C060F #222C06 #062C23
square
#10062C #2C060F #222C06 #062C23
split-complementary
#10062C #2C2306 #0F2C06
monochromatic
#0A041B #0A041B #10062C #240D62 #371598

Accessibility & contrast

On white

19.37
#10062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10062C
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10062C#FFFFFF#000000##FFFFFF
##10062C1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#000D2B
Tritanopia (blue-blind)
#061018
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #10062c;
/* rgb */ color: rgb(16, 6, 44);
/* oklch */ color: oklch(17.0% 0.073 288.8);
Tailwind
colors: {
  custom: {
    50: '#504965',
    500: '#10062c',
    950: '#000000',
  },
}
SCSS
$custom: #10062c;
$custom-light: #504965;
$custom-dark: #000000;
JSON
{
  "hex": "#10062c",
  "rgb": {
    "r": 16,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 255.789,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16956,
    "c": 0.07265,
    "h": 288.8
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#10062C
secondary
#596D21
accent
#F335C1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #10062C

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

Preview Lab → · Contrast checker → · Palette generator →

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