#100642#100642

#100642 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.104 H 278.9°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#100642
RGBrgb(16, 6, 66)
HSLhsl(250, 83%, 14%)
HSVhsv(250, 91%, 26%)
CMYKcmyk(75.8%, 90.9%, 0%, 74.1%)
CIE-LABlab(5.72, 24.76, -35.15)
CIE-LCHlch(5.72, 43.00, 305.16°)
OKLaboklab(19.67% 0.016 -0.1028)
OKLCHoklch(19.67% 0.104 278.9)
XYZxyz(1.2619, 0.6336, 5.2090)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100642 #384206
analogous
#061A42 #100642 #2E0642
triadic
#100642 #421006 #064210
tetradic
#100642 #42061A #384206 #06422E
square
#100642 #42061A #384206 #06422E
split-complementary
#100642 #422E06 #1A4206
monochromatic
#07031C #07031C #100642 #1E0B7A #2B10B2

Accessibility & contrast

On white

18.64
#100642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#100642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100642
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100642#FFFFFF#000000##FFFFFF
##1006421.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #100642;
/* rgb */ color: rgb(16, 6, 66);
/* oklch */ color: oklch(19.7% 0.104 278.9);
Tailwind
colors: {
  custom: {
    50: '#574877',
    500: '#100642',
    950: '#000000',
  },
}
SCSS
$custom: #100642;
$custom-light: #574877;
$custom-dark: #000000;
JSON
{
  "hex": "#100642",
  "rgb": {
    "r": 16,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 250,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19669,
    "c": 0.10404,
    "h": 278.9
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#100642
secondary
#728222
accent
#FA2ED8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040009
muted
#79777B

Preview Lab

Preview with #100642

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

Preview Lab → · Contrast checker → · Palette generator →

#100642 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva