#100334#100334

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

Color values

HEX#100334
RGBrgb(16, 3, 52)
HSLhsl(256, 89%, 11%)
HSVhsv(256, 94%, 20%)
CMYKcmyk(69.2%, 94.2%, 0%, 79.6%)
CIE-LABlab(3.82, 18.98, -28.08)
CIE-LCHlch(3.82, 33.89, 304.06°)
OKLaboklab(17.26% 0.0246 -0.0862)
OKLCHoklch(17.26% 0.09 285.9)
XYZxyz(0.8659, 0.4232, 3.2842)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100334 #273403
analogous
#030E34 #100334 #280334
triadic
#100334 #341003 #033410
tetradic
#100334 #34030E #273403 #033428
square
#100334 #34030E #273403 #033428
split-complementary
#100334 #342803 #0E3403
monochromatic
#09021D #09021D #100334 #22066E #340AA8

Accessibility & contrast

On white

19.36
#100334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #100334
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100334#FFFFFF#000000##FFFFFF
##1003341.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F35
Deuteranopia (green-blind)
#000C33
Tritanopia (blue-blind)
#01111B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #100334;
/* rgb */ color: rgb(16, 3, 52);
/* oklch */ color: oklch(17.3% 0.090 285.9);
Tailwind
colors: {
  custom: {
    50: '#52476c',
    500: '#100334',
    950: '#000000',
  },
}
SCSS
$custom: #100334;
$custom-light: #52476c;
$custom-dark: #000000;
JSON
{
  "hex": "#100334",
  "rgb": {
    "r": 16,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 255.918,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.1726,
    "c": 0.0896,
    "h": 285.9
  },
  "luminance": 0.00423
}

Semantic roles & 50–950 ramp

primary
#100334
secondary
#5F771C
accent
#FF29C6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #100334

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

Preview Lab → · Contrast checker → · Palette generator →

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