#180E47#180E47

#180E47 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.100 H 282.7°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#180E47
RGBrgb(24, 14, 71)
HSLhsl(251, 67%, 17%)
HSVhsv(251, 80%, 28%)
CMYKcmyk(66.2%, 80.3%, 0%, 72.2%)
CIE-LABlab(8.68, 23.62, -33.80)
CIE-LCHlch(8.68, 41.24, 304.95°)
OKLaboklab(22.31% 0.022 -0.0974)
OKLCHoklch(22.31% 0.1 282.7)
XYZxyz(1.6707, 0.9631, 6.0579)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E47 #3D470E
analogous
#0E2147 #180E47 #350E47
triadic
#180E47 #47180E #0E4718
tetradic
#180E47 #470E21 #3D470E #0E4735
square
#180E47 #470E21 #3D470E #0E4735
split-complementary
#180E47 #47350E #21470E
monochromatic
#09051A #09051A #180E47 #29187A #3B22AD

Accessibility & contrast

On white

17.61
#180E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#180E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E47
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E47#FFFFFF#000000##FFFFFF
##180E471.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #180e47;
/* rgb */ color: rgb(24, 14, 71);
/* oklch */ color: oklch(22.3% 0.100 282.7);
Tailwind
colors: {
  custom: {
    50: '#5c4d7b',
    500: '#180e47',
    950: '#000000',
  },
}
SCSS
$custom: #180e47;
$custom-light: #5c4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#180e47",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 250.526,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22307,
    "c": 0.09984,
    "h": 282.7
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#180E47
secondary
#73822F
accent
#EA3ECC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #180E47

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

Preview Lab → · Contrast checker → · Palette generator →

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