#180A35#180A35

#180A35 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.079 H 292.5°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#180A35
RGBrgb(24, 10, 53)
HSLhsl(260, 68%, 12%)
HSVhsv(260, 81%, 21%)
CMYKcmyk(54.7%, 81.1%, 0%, 79.2%)
CIE-LABlab(6.04, 19.05, -25.21)
CIE-LCHlch(6.04, 31.60, 307.08°)
OKLaboklab(19.71% 0.0304 -0.0731)
OKLCHoklch(19.71% 0.079 292.5)
XYZxyz(1.1277, 0.6683, 3.4370)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A35 #27350A
analogous
#0A1135 #180A35 #2E0A35
triadic
#180A35 #35180A #0A3518
tetradic
#180A35 #350A11 #27350A #0A352E
square
#180A35 #350A11 #27350A #0A352E
split-complementary
#180A35 #352E0A #11350A
monochromatic
#0C051A #0C051A #180A35 #2F1468 #471D9C

Accessibility & contrast

On white

18.53
#180A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180A35
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A35#FFFFFF#000000##FFFFFF
##180A351.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#0F151E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180a35;
/* rgb */ color: rgb(24, 10, 53);
/* oklch */ color: oklch(19.7% 0.079 292.5);
Tailwind
colors: {
  custom: {
    50: '#584a6d',
    500: '#180a35',
    950: '#000000',
  },
}
SCSS
$custom: #180a35;
$custom-light: #584a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#180a35",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 259.535,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19707,
    "c": 0.07919,
    "h": 292.5
  },
  "luminance": 0.00668
}

Semantic roles & 50–950 ramp

primary
#180A35
secondary
#5A7228
accent
#EB3DB2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180A35

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

Preview Lab → · Contrast checker → · Palette generator →

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