#180928#180928

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

Color values

HEX#180928
RGBrgb(24, 9, 40)
HSLhsl(269, 63%, 10%)
HSVhsv(269, 78%, 16%)
CMYKcmyk(40%, 77.5%, 0%, 84.3%)
CIE-LABlab(4.90, 13.98, -17.31)
CIE-LCHlch(4.90, 22.25, 308.93°)
OKLaboklab(18.27% 0.0336 -0.0516)
OKLCHoklch(18.27% 0.062 303.1)
XYZxyz(0.8573, 0.5428, 2.0667)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180928 #192809
analogous
#090A28 #180928 #280928
triadic
#180928 #281809 #092818
tetradic
#180928 #28090A #192809 #092828
square
#180928 #28090A #192809 #092828
split-complementary
#180928 #282809 #0A2809
monochromatic
#0F0619 #0F0619 #180928 #36145A #541F8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##180928#FFFFFF#000000##FFFFFF
##1809281.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)
#001029
Deuteranopia (green-blind)
#031127
Tritanopia (blue-blind)
#150F17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180928;
/* rgb */ color: rgb(24, 9, 40);
/* oklch */ color: oklch(18.3% 0.062 303.1);
Tailwind
colors: {
  custom: {
    50: '#554a62',
    500: '#180928',
    950: '#000000',
  },
}
SCSS
$custom: #180928;
$custom-light: #554a62;
$custom-dark: #000000;
JSON
{
  "hex": "#180928",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 40
  },
  "hsl": {
    "h": 269.032,
    "s": 63.265,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18271,
    "c": 0.06157,
    "h": 303.1
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#180928
secondary
#476627
accent
#E64197
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #180928

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

Preview Lab → · Contrast checker → · Palette generator →

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