#100542#100542

#100542 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.105 H 279.1°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#100542
RGBrgb(16, 5, 66)
HSLhsl(251, 86%, 14%)
HSVhsv(251, 92%, 26%)
CMYKcmyk(75.8%, 92.4%, 0%, 74.1%)
CIE-LABlab(5.53, 25.26, -35.47)
CIE-LCHlch(5.53, 43.55, 305.46°)
OKLaboklab(19.5% 0.0167 -0.104)
OKLCHoklch(19.5% 0.105 279.1)
XYZxyz(1.2510, 0.6119, 5.2054)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100542 #374205
analogous
#051942 #100542 #2F0542
triadic
#100542 #421005 #054210
tetradic
#100542 #420519 #374205 #05422F
square
#100542 #420519 #374205 #05422F
split-complementary
#100542 #422F05 #194205
monochromatic
#07021C #07021C #100542 #1E097B #2C0EB4

Accessibility & contrast

On white

18.71
#100542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#100542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100542
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100542#FFFFFF#000000##FFFFFF
##1005421.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #100542;
/* rgb */ color: rgb(16, 5, 66);
/* oklch */ color: oklch(19.5% 0.105 279.1);
Tailwind
colors: {
  custom: {
    50: '#574877',
    500: '#100542',
    950: '#000000',
  },
}
SCSS
$custom: #100542;
$custom-light: #574877;
$custom-dark: #000000;
JSON
{
  "hex": "#100542",
  "rgb": {
    "r": 16,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 250.82,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19498,
    "c": 0.1053,
    "h": 279.1
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#100542
secondary
#718220
accent
#FC2CD7
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040009
muted
#79777B

Preview Lab

Preview with #100542

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

Preview Lab → · Contrast checker → · Palette generator →

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