#180E37#180E37

#180E37 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.076 H 289.2°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#180E37
RGBrgb(24, 14, 55)
HSLhsl(255, 59%, 14%)
HSVhsv(255, 75%, 22%)
CMYKcmyk(56.4%, 74.5%, 0%, 78.4%)
CIE-LABlab(7.08, 17.67, -24.99)
CIE-LCHlch(7.08, 30.61, 305.27°)
OKLaboklab(20.63% 0.025 -0.0717)
OKLCHoklch(20.63% 0.076 289.2)
XYZxyz(1.2231, 0.7841, 3.7006)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E37 #2D370E
analogous
#0E1837 #180E37 #2C0E37
triadic
#180E37 #37180E #0E3718
tetradic
#180E37 #370E18 #2D370E #0E372C
square
#180E37 #370E18 #2D370E #0E372C
split-complementary
#180E37 #372C0E #18370E
monochromatic
#0B0618 #0B0618 #180E37 #2D1A68 #432799

Accessibility & contrast

On white

18.15
#180E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E37
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E37#FFFFFF#000000##FFFFFF
##180E371.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#0E1820
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #180e37;
/* rgb */ color: rgb(24, 14, 55);
/* oklch */ color: oklch(20.6% 0.076 289.2);
Tailwind
colors: {
  custom: {
    50: '#584d6e',
    500: '#180e37',
    950: '#000000',
  },
}
SCSS
$custom: #180e37;
$custom-light: #584d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#180e37",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 55
  },
  "hsl": {
    "h": 254.634,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20628,
    "c": 0.07595,
    "h": 289.2
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#180E37
secondary
#62722F
accent
#E345BC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #180E37

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

Preview Lab → · Contrast checker → · Palette generator →

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