#100340#100340

#100340 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.9% C 0.105 H 280.5°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#100340
RGBrgb(16, 3, 64)
HSLhsl(253, 91%, 13%)
HSVhsv(253, 95%, 25%)
CMYKcmyk(75%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.93, 25.29, -35.02)
CIE-LCHlch(4.93, 43.20, 305.83°)
OKLaboklab(18.87% 0.0191 -0.1036)
OKLCHoklch(18.87% 0.105 280.5)
XYZxyz(1.1714, 0.5454, 4.8930)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100340 #334003
analogous
#031440 #100340 #2E0340
triadic
#100340 #401003 #034010
tetradic
#100340 #400314 #334003 #03402E
square
#100340 #400314 #334003 #03402E
split-complementary
#100340 #402E03 #144003
monochromatic
#07011D #07011D #100340 #1F067A #2D08B5

Accessibility & contrast

On white

18.94
#100340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#100340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100340
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100340#FFFFFF#000000##FFFFFF
##1003401.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001342
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #100340;
/* rgb */ color: rgb(16, 3, 64);
/* oklch */ color: oklch(18.9% 0.105 280.5);
Tailwind
colors: {
  custom: {
    50: '#574776',
    500: '#100340',
    950: '#000000',
  },
}
SCSS
$custom: #100340;
$custom-light: #574776;
$custom-dark: #000000;
JSON
{
  "hex": "#100340",
  "rgb": {
    "r": 16,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 252.787,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18871,
    "c": 0.10534,
    "h": 280.5
  },
  "luminance": 0.00545
}

Semantic roles & 50–950 ramp

primary
#100340
secondary
#6C821D
accent
#FF29D1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #100340

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

Preview Lab → · Contrast checker → · Palette generator →

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