#100239#100239

#100239 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.7% C 0.098 H 283.8°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#100239
RGBrgb(16, 2, 57)
HSLhsl(255, 93%, 12%)
HSVhsv(255, 96%, 22%)
CMYKcmyk(71.9%, 96.5%, 0%, 77.6%)
CIE-LABlab(4.05, 22.15, -31.38)
CIE-LCHlch(4.05, 38.41, 305.22°)
OKLaboklab(17.72% 0.0234 -0.095)
OKLCHoklch(17.72% 0.098 283.8)
XYZxyz(0.9737, 0.4489, 3.9054)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100239 #2B3902
analogous
#021039 #100239 #2C0239
triadic
#100239 #391002 #023910
tetradic
#100239 #390210 #2B3902 #02392C
square
#100239 #390210 #2B3902 #02392C
split-complementary
#100239 #392C02 #103902
monochromatic
#08011E #08011E #100239 #210474 #3106AF

Accessibility & contrast

On white

19.27
#100239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #100239
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100239#FFFFFF#000000##FFFFFF
##1002391.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000C38
Tritanopia (blue-blind)
#00121E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #100239;
/* rgb */ color: rgb(16, 2, 57);
/* oklch */ color: oklch(17.7% 0.098 283.8);
Tailwind
colors: {
  custom: {
    50: '#544670',
    500: '#100239',
    950: '#000000',
  },
}
SCSS
$custom: #100239;
$custom-light: #544670;
$custom-dark: #000000;
JSON
{
  "hex": "#100239",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 255.273,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17715,
    "c": 0.09785,
    "h": 283.8
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#100239
secondary
#647D1A
accent
#FF29C8
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030007
muted
#78777A

Preview Lab

Preview with #100239

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

Preview Lab → · Contrast checker → · Palette generator →

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