#180A30#180A30

#180A30 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.072 H 295.8°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#180A30
RGBrgb(24, 10, 48)
HSLhsl(262, 66%, 11%)
HSVhsv(262, 79%, 19%)
CMYKcmyk(50%, 79.2%, 0%, 81.2%)
CIE-LABlab(5.64, 16.95, -22.15)
CIE-LCHlch(5.64, 27.89, 307.42°)
OKLaboklab(19.21% 0.0313 -0.0646)
OKLCHoklch(19.21% 0.072 295.8)
XYZxyz(1.0186, 0.6247, 2.8626)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A30 #22300A
analogous
#0A0F30 #180A30 #2B0A30
triadic
#180A30 #30180A #0A3018
tetradic
#180A30 #300A0F #22300A #0A302B
square
#180A30 #300A0F #22300A #0A302B
split-complementary
#180A30 #302B0A #0F300A
monochromatic
#0D0519 #0D0519 #180A30 #311563 #4B1F95

Accessibility & contrast

On white

18.67
#180A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A30
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A30#FFFFFF#000000##FFFFFF
##180A301.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#12131B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180a30;
/* rgb */ color: rgb(24, 10, 48);
/* oklch */ color: oklch(19.2% 0.072 295.8);
Tailwind
colors: {
  custom: {
    50: '#574a68',
    500: '#180a30',
    950: '#000000',
  },
}
SCSS
$custom: #180a30;
$custom-light: #574a68;
$custom-dark: #000000;
JSON
{
  "hex": "#180a30",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 262.105,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19206,
    "c": 0.07179,
    "h": 295.8
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#180A30
secondary
#546D29
accent
#E83FAA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180A30

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

Preview Lab → · Contrast checker → · Palette generator →

#180A30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva