#100235#100235

#100235 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.093 H 285.9°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#100235
RGBrgb(16, 2, 53)
HSLhsl(256, 93%, 11%)
HSVhsv(256, 96%, 21%)
CMYKcmyk(69.8%, 96.2%, 0%, 79.2%)
CIE-LABlab(3.71, 19.95, -29.00)
CIE-LCHlch(3.71, 35.20, 304.52°)
OKLaboklab(17.17% 0.0254 -0.0892)
OKLCHoklch(17.17% 0.093 285.9)
XYZxyz(0.8778, 0.4106, 3.4005)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100235 #273502
analogous
#020D35 #100235 #290235
triadic
#100235 #351002 #023510
tetradic
#100235 #35020D #273502 #023529
square
#100235 #35020D #273502 #023529
split-complementary
#100235 #352902 #0D3502
monochromatic
#09011D #09011D #100235 #220470 #3406AB

Accessibility & contrast

On white

19.40
#100235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #100235
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100235#FFFFFF#000000##FFFFFF
##1002351.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F36
Deuteranopia (green-blind)
#000C34
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #100235;
/* rgb */ color: rgb(16, 2, 53);
/* oklch */ color: oklch(17.2% 0.093 285.9);
Tailwind
colors: {
  custom: {
    50: '#52466d',
    500: '#100235',
    950: '#000000',
  },
}
SCSS
$custom: #100235;
$custom-light: #52466d;
$custom-dark: #000000;
JSON
{
  "hex": "#100235",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 256.471,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17171,
    "c": 0.09272,
    "h": 285.9
  },
  "luminance": 0.00411
}

Semantic roles & 50–950 ramp

primary
#100235
secondary
#5F791A
accent
#FF29C4
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#030007
muted
#78777A

Preview Lab

Preview with #100235

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

Preview Lab → · Contrast checker → · Palette generator →

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