#18103E#18103E

#18103E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.084 H 285.0°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#18103E
RGBrgb(24, 16, 62)
HSLhsl(250, 59%, 15%)
HSVhsv(250, 74%, 24%)
CMYKcmyk(61.3%, 74.2%, 0%, 75.7%)
CIE-LABlab(8.24, 18.99, -28.15)
CIE-LCHlch(8.24, 33.95, 304.00°)
OKLaboklab(21.7% 0.0217 -0.0808)
OKLCHoklch(21.7% 0.084 285)
XYZxyz(1.4312, 0.9125, 4.6572)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18103E #363E10
analogous
#101F3E #18103E #2F103E
triadic
#18103E #3E1810 #103E18
tetradic
#18103E #3E101F #363E10 #103E2F
square
#18103E #3E101F #363E10 #103E2F
split-complementary
#18103E #3E2F10 #1F3E10
monochromatic
#090618 #090618 #18103E #2B1D6F #3E299F

Accessibility & contrast

On white

17.76
#18103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#18103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18103E
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18103E#FFFFFF#000000##FFFFFF
##18103E1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#081B25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #18103e;
/* rgb */ color: rgb(24, 16, 62);
/* oklch */ color: oklch(21.7% 0.084 285.0);
Tailwind
colors: {
  custom: {
    50: '#5a4e74',
    500: '#18103e',
    950: '#000000',
  },
}
SCSS
$custom: #18103e;
$custom-light: #5a4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#18103e",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 250.435,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21704,
    "c": 0.08368,
    "h": 285
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#18103E
secondary
#6C7832
accent
#E246C7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #18103E

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

Preview Lab → · Contrast checker → · Palette generator →

#18103E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva