#180A2F#180A2F

#180A2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.070 H 296.5°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#180A2F
RGBrgb(24, 10, 47)
HSLhsl(263, 65%, 11%)
HSVhsv(263, 79%, 18%)
CMYKcmyk(48.9%, 78.7%, 0%, 81.6%)
CIE-LABlab(5.57, 16.53, -21.53)
CIE-LCHlch(5.57, 27.14, 307.51°)
OKLaboklab(19.11% 0.0314 -0.0629)
OKLCHoklch(19.11% 0.07 296.5)
XYZxyz(0.9982, 0.6165, 2.7552)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A2F #212F0A
analogous
#0A0E2F #180A2F #2A0A2F
triadic
#180A2F #2F180A #0A2F18
tetradic
#180A2F #2F0A0E #212F0A #0A2F2A
square
#180A2F #2F0A0E #212F0A #0A2F2A
split-complementary
#180A2F #2F2A0A #0E2F0A
monochromatic
#0D0519 #0D0519 #180A2F #321561 #4C1F94

Accessibility & contrast

On white

18.69
#180A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A2F
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A2F#FFFFFF#000000##FFFFFF
##180A2F1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180a2f;
/* rgb */ color: rgb(24, 10, 47);
/* oklch */ color: oklch(19.1% 0.070 296.5);
Tailwind
colors: {
  custom: {
    50: '#574a68',
    500: '#180a2f',
    950: '#000000',
  },
}
SCSS
$custom: #180a2f;
$custom-light: #574a68;
$custom-dark: #000000;
JSON
{
  "hex": "#180a2f",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 262.703,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19109,
    "c": 0.07028,
    "h": 296.5
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#180A2F
secondary
#536C29
accent
#E840A8
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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