#10062F#10062F

#10062F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.077 H 287.0°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#10062F
RGBrgb(16, 6, 47)
HSLhsl(255, 77%, 10%)
HSVhsv(255, 87%, 18%)
CMYKcmyk(66%, 87.2%, 0%, 81.6%)
CIE-LABlab(4.03, 15.08, -24.03)
CIE-LCHlch(4.03, 28.37, 302.11°)
OKLaboklab(17.3% 0.0225 -0.0738)
OKLCHoklch(17.3% 0.077 287)
XYZxyz(0.7917, 0.4456, 2.7331)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10062F #252F06
analogous
#06102F #10062F #24062F
triadic
#10062F #2F1006 #062F10
tetradic
#10062F #2F0610 #252F06 #062F24
square
#10062F #2F0610 #252F06 #062F24
split-complementary
#10062F #2F2406 #102F06
monochromatic
#09031B #09031B #10062F #220D65 #35149C

Accessibility & contrast

On white

19.28
#10062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#10062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10062F
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10062F#FFFFFF#000000##FFFFFF
##10062F1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#041119
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #10062f;
/* rgb */ color: rgb(16, 6, 47);
/* oklch */ color: oklch(17.3% 0.077 287.0);
Tailwind
colors: {
  custom: {
    50: '#514968',
    500: '#10062f',
    950: '#000000',
  },
}
SCSS
$custom: #10062f;
$custom-light: #514968;
$custom-dark: #000000;
JSON
{
  "hex": "#10062f",
  "rgb": {
    "r": 16,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 254.634,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.173,
    "c": 0.07714,
    "h": 287
  },
  "luminance": 0.00446
}

Semantic roles & 50–950 ramp

primary
#10062F
secondary
#5C7021
accent
#F434C5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #10062F

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

Preview Lab → · Contrast checker → · Palette generator →

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