#100231#100231

#100231 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.088 H 288.2°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#100231
RGBrgb(16, 2, 49)
HSLhsl(258, 92%, 10%)
HSVhsv(258, 96%, 19%)
CMYKcmyk(67.3%, 95.9%, 0%, 80.8%)
CIE-LABlab(3.39, 17.73, -26.54)
CIE-LCHlch(3.39, 31.92, 303.75°)
OKLaboklab(16.64% 0.0274 -0.0832)
OKLCHoklch(16.64% 0.088 288.2)
XYZxyz(0.7896, 0.3753, 2.9360)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100231 #233102
analogous
#020C31 #100231 #270231
triadic
#100231 #311002 #023110
tetradic
#100231 #31020C #233102 #023127
square
#100231 #31020C #233102 #023127
split-complementary
#100231 #312702 #0C3102
monochromatic
#0A011D #0A011D #100231 #23046C #3607A7

Accessibility & contrast

On white

19.53
#100231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#100231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100231
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100231#FFFFFF#000000##FFFFFF
##1002311.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000B30
Tritanopia (blue-blind)
#030F19
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #100231;
/* rgb */ color: rgb(16, 2, 49);
/* oklch */ color: oklch(16.6% 0.088 288.2);
Tailwind
colors: {
  custom: {
    50: '#514769',
    500: '#100231',
    950: '#000000',
  },
}
SCSS
$custom: #100231;
$custom-light: #514769;
$custom-dark: #000000;
JSON
{
  "hex": "#100231",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 257.872,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.16638,
    "c": 0.08756,
    "h": 288.2
  },
  "luminance": 0.00375
}

Semantic roles & 50–950 ramp

primary
#100231
secondary
#5A7519
accent
#FF29BF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #100231

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

Preview Lab → · Contrast checker → · Palette generator →

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