#180A43#180A43

#180A43 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.099 H 285.6°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#180A43
RGBrgb(24, 10, 67)
HSLhsl(255, 74%, 15%)
HSVhsv(255, 85%, 26%)
CMYKcmyk(64.2%, 85.1%, 0%, 73.7%)
CIE-LABlab(7.37, 24.61, -33.12)
CIE-LCHlch(7.37, 41.27, 306.61°)
OKLaboklab(21.24% 0.0266 -0.0955)
OKLCHoklch(21.24% 0.099 285.6)
XYZxyz(1.4980, 0.8164, 5.3878)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A43 #35430A
analogous
#0A1843 #180A43 #350A43
triadic
#180A43 #43180A #0A4318
tetradic
#180A43 #430A18 #35430A #0A4335
square
#180A43 #430A18 #35430A #0A4335
split-complementary
#180A43 #43350A #18430A
monochromatic
#0A041B #0A041B #180A43 #2B1278 #3E1AAE

Accessibility & contrast

On white

18.05
#180A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#180A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A43
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A43#FFFFFF#000000##FFFFFF
##180A431.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#041A26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #180a43;
/* rgb */ color: rgb(24, 10, 67);
/* oklch */ color: oklch(21.2% 0.099 285.6);
Tailwind
colors: {
  custom: {
    50: '#5b4b78',
    500: '#180a43',
    950: '#000000',
  },
}
SCSS
$custom: #180a43;
$custom-light: #5b4b78;
$custom-dark: #000000;
JSON
{
  "hex": "#180a43",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 254.737,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21237,
    "c": 0.09911,
    "h": 285.6
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#180A43
secondary
#6B8029
accent
#F137C3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #180A43

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

Preview Lab → · Contrast checker → · Palette generator →

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