#100540#100540

#100540 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.103 H 279.8°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#100540
RGBrgb(16, 5, 64)
HSLhsl(251, 86%, 14%)
HSVhsv(251, 92%, 25%)
CMYKcmyk(75%, 92.2%, 0%, 74.9%)
CIE-LABlab(5.32, 24.31, -34.38)
CIE-LCHlch(5.32, 42.11, 305.26°)
OKLaboklab(19.23% 0.0175 -0.1011)
OKLCHoklch(19.23% 0.103 279.8)
XYZxyz(1.1931, 0.5888, 4.9003)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100540 #354005
analogous
#051740 #100540 #2D0540
triadic
#100540 #401005 #054010
tetradic
#100540 #400517 #354005 #05402D
square
#100540 #400517 #354005 #05402D
split-complementary
#100540 #402D05 #174005
monochromatic
#07021C #07021C #100540 #1E0979 #2C0EB2

Accessibility & contrast

On white

18.79
#100540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #100540
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100540#FFFFFF#000000##FFFFFF
##1005401.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #100540;
/* rgb */ color: rgb(16, 5, 64);
/* oklch */ color: oklch(19.2% 0.103 279.8);
Tailwind
colors: {
  custom: {
    50: '#574876',
    500: '#100540',
    950: '#000000',
  },
}
SCSS
$custom: #100540;
$custom-light: #574876;
$custom-dark: #000000;
JSON
{
  "hex": "#100540",
  "rgb": {
    "r": 16,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 251.186,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19232,
    "c": 0.10263,
    "h": 279.8
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#100540
secondary
#6F8120
accent
#FC2CD5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #100540

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

Preview Lab → · Contrast checker → · Palette generator →

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