#100338#100338

#100338 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.095 H 283.9°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#100338
RGBrgb(16, 3, 56)
HSLhsl(255, 90%, 12%)
HSVhsv(255, 95%, 22%)
CMYKcmyk(71.4%, 94.6%, 0%, 78%)
CIE-LABlab(4.16, 21.17, -30.48)
CIE-LCHlch(4.16, 37.11, 304.78°)
OKLaboklab(17.79% 0.0228 -0.0921)
OKLCHoklch(17.79% 0.095 283.9)
XYZxyz(0.9598, 0.4607, 3.7790)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100338 #2B3803
analogous
#031138 #100338 #2B0338
triadic
#100338 #381003 #033810
tetradic
#100338 #380311 #2B3803 #03382B
square
#100338 #380311 #2B3803 #03382B
split-complementary
#100338 #382B03 #113803
monochromatic
#08021D #08021D #100338 #210672 #3109AC

Accessibility & contrast

On white

19.23
#100338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#100338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100338
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100338#FFFFFF#000000##FFFFFF
##1003381.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001039
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #100338;
/* rgb */ color: rgb(16, 3, 56);
/* oklch */ color: oklch(17.8% 0.095 283.9);
Tailwind
colors: {
  custom: {
    50: '#54476f',
    500: '#100338',
    950: '#000000',
  },
}
SCSS
$custom: #100338;
$custom-light: #54476f;
$custom-dark: #000000;
JSON
{
  "hex": "#100338",
  "rgb": {
    "r": 16,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 254.717,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17788,
    "c": 0.0949,
    "h": 283.9
  },
  "luminance": 0.00461
}

Semantic roles & 50–950 ramp

primary
#100338
secondary
#647B1C
accent
#FF29CA
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #100338

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

Preview Lab → · Contrast checker → · Palette generator →

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