#180A34#180A34

#180A34 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.078 H 293.2°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#180A34
RGBrgb(24, 10, 52)
HSLhsl(260, 68%, 12%)
HSVhsv(260, 81%, 20%)
CMYKcmyk(53.8%, 80.8%, 0%, 79.6%)
CIE-LABlab(5.95, 18.63, -24.61)
CIE-LCHlch(5.95, 30.87, 307.13°)
OKLaboklab(19.6% 0.0306 -0.0715)
OKLCHoklch(19.6% 0.078 293.2)
XYZxyz(1.1049, 0.6592, 3.3172)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A34 #26340A
analogous
#0A1134 #180A34 #2D0A34
triadic
#180A34 #34180A #0A3418
tetradic
#180A34 #340A11 #26340A #0A342D
square
#180A34 #340A11 #26340A #0A342D
split-complementary
#180A34 #342D0A #11340A
monochromatic
#0C051A #0C051A #180A34 #301467 #471E9B

Accessibility & contrast

On white

18.55
#180A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180A34
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A34#FFFFFF#000000##FFFFFF
##180A341.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#10141D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180a34;
/* rgb */ color: rgb(24, 10, 52);
/* oklch */ color: oklch(19.6% 0.078 293.2);
Tailwind
colors: {
  custom: {
    50: '#584a6c',
    500: '#180a34',
    950: '#000000',
  },
}
SCSS
$custom: #180a34;
$custom-light: #584a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#180a34",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 260,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19604,
    "c": 0.07772,
    "h": 293.2
  },
  "luminance": 0.00659
}

Semantic roles & 50–950 ramp

primary
#180A34
secondary
#597128
accent
#EB3DB1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180A34

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

Preview Lab → · Contrast checker → · Palette generator →

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