#180930#180930

#180930 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.073 H 296.4°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#180930
RGBrgb(24, 9, 48)
HSLhsl(263, 68%, 11%)
HSVhsv(263, 81%, 19%)
CMYKcmyk(50%, 81.3%, 0%, 81.2%)
CIE-LABlab(5.45, 17.40, -22.47)
CIE-LCHlch(5.45, 28.42, 307.76°)
OKLaboklab(19.03% 0.0327 -0.0658)
OKLCHoklch(19.03% 0.073 296.4)
XYZxyz(1.0077, 0.6029, 2.8590)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180930 #213009
analogous
#090D30 #180930 #2B0930
triadic
#180930 #301809 #093018
tetradic
#180930 #30090D #213009 #09302B
square
#180930 #30090D #213009 #09302B
split-complementary
#180930 #302B09 #0D3009
monochromatic
#0D051A #0D051A #180930 #321364 #4C1C97

Accessibility & contrast

On white

18.74
#180930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180930
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180930#FFFFFF#000000##FFFFFF
##1809301.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#12121B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180930;
/* rgb */ color: rgb(24, 9, 48);
/* oklch */ color: oklch(19.0% 0.073 296.4);
Tailwind
colors: {
  custom: {
    50: '#574a68',
    500: '#180930',
    950: '#000000',
  },
}
SCSS
$custom: #180930;
$custom-light: #574a68;
$custom-dark: #000000;
JSON
{
  "hex": "#180930",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 263.077,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19026,
    "c": 0.07346,
    "h": 296.4
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#180930
secondary
#536E27
accent
#EB3DA8
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180930

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

Preview Lab → · Contrast checker → · Palette generator →

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