#180339#180339

#180339 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.096 H 293.3°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#180339
RGBrgb(24, 3, 57)
HSLhsl(263, 90%, 12%)
HSVhsv(263, 95%, 22%)
CMYKcmyk(57.9%, 94.7%, 0%, 77.6%)
CIE-LABlab(5.01, 24.14, -29.80)
CIE-LCHlch(5.01, 38.35, 309.02°)
OKLaboklab(18.92% 0.0379 -0.0879)
OKLCHoklch(18.92% 0.096 293.3)
XYZxyz(1.1476, 0.5547, 3.9167)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180339 #243903
analogous
#030939 #180339 #330339
triadic
#180339 #391803 #033918
tetradic
#180339 #390309 #243903 #033933
square
#180339 #390309 #243903 #033933
split-complementary
#180339 #393303 #093903
monochromatic
#0C021D #0C021D #180339 #300673 #4909AD

Accessibility & contrast

On white

18.90
#180339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180339
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180339#FFFFFF#000000##FFFFFF
##1803391.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#0D121E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180339;
/* rgb */ color: rgb(24, 3, 57);
/* oklch */ color: oklch(18.9% 0.096 293.3);
Tailwind
colors: {
  custom: {
    50: '#594770',
    500: '#180339',
    950: '#000000',
  },
}
SCSS
$custom: #180339;
$custom-light: #594770;
$custom-dark: #000000;
JSON
{
  "hex": "#180339",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 263.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18922,
    "c": 0.09576,
    "h": 293.3
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#180339
secondary
#577C1C
accent
#FF29AC
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180339

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

Preview Lab → · Contrast checker → · Palette generator →

#180339 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva