#100731#100731

#100731 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.078 H 285.3°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#100731
RGBrgb(16, 7, 49)
HSLhsl(253, 75%, 11%)
HSVhsv(253, 86%, 19%)
CMYKcmyk(67.3%, 85.7%, 0%, 80.8%)
CIE-LABlab(4.37, 15.73, -24.98)
CIE-LCHlch(4.37, 29.52, 302.21°)
OKLaboklab(17.75% 0.0207 -0.0756)
OKLCHoklch(17.75% 0.078 285.3)
XYZxyz(0.8439, 0.4838, 2.9541)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100731 #283107
analogous
#071331 #100731 #250731
triadic
#100731 #311007 #073110
tetradic
#100731 #310713 #283107 #073125
square
#100731 #310713 #283107 #073125
split-complementary
#100731 #312507 #133107
monochromatic
#09041B #09041B #100731 #210F67 #33169C

Accessibility & contrast

On white

19.15
#100731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#100731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100731
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100731#FFFFFF#000000##FFFFFF
##1007311.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#03121B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #100731;
/* rgb */ color: rgb(16, 7, 49);
/* oklch */ color: oklch(17.7% 0.078 285.3);
Tailwind
colors: {
  custom: {
    50: '#514969',
    500: '#100731',
    950: '#000000',
  },
}
SCSS
$custom: #100731;
$custom-light: #514969;
$custom-dark: #000000;
JSON
{
  "hex": "#100731",
  "rgb": {
    "r": 16,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 252.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17746,
    "c": 0.07838,
    "h": 285.3
  },
  "luminance": 0.00484
}

Semantic roles & 50–950 ramp

primary
#100731
secondary
#607123
accent
#F236C9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #100731

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

Preview Lab → · Contrast checker → · Palette generator →

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