#100831#100831

#100831 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.077 H 284.7°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#100831
RGBrgb(16, 8, 49)
HSLhsl(252, 72%, 11%)
HSVhsv(252, 84%, 19%)
CMYKcmyk(67.3%, 83.7%, 0%, 80.8%)
CIE-LABlab(4.57, 15.33, -24.66)
CIE-LCHlch(4.57, 29.04, 301.86°)
OKLaboklab(17.95% 0.0194 -0.0742)
OKLCHoklch(17.95% 0.077 284.7)
XYZxyz(0.8547, 0.5055, 2.9577)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100831 #293108
analogous
#081431 #100831 #240831
triadic
#100831 #311008 #083110
tetradic
#100831 #310814 #293108 #083124
square
#100831 #310814 #293108 #083124
split-complementary
#100831 #312408 #143108
monochromatic
#09041A #09041A #100831 #211166 #32199A

Accessibility & contrast

On white

19.07
#100831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #100831
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100831#FFFFFF#000000##FFFFFF
##1008311.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#03131B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #100831;
/* rgb */ color: rgb(16, 8, 49);
/* oklch */ color: oklch(18.0% 0.077 284.7);
Tailwind
colors: {
  custom: {
    50: '#514a69',
    500: '#100831',
    950: '#000000',
  },
}
SCSS
$custom: #100831;
$custom-light: #514a69;
$custom-dark: #000000;
JSON
{
  "hex": "#100831",
  "rgb": {
    "r": 16,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 251.707,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17952,
    "c": 0.07672,
    "h": 284.7
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#100831
secondary
#617025
accent
#EF39CB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #100831

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

Preview Lab → · Contrast checker → · Palette generator →

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