#180934#180934

#180934 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.079 H 293.7°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#180934
RGBrgb(24, 9, 52)
HSLhsl(261, 70%, 12%)
HSVhsv(261, 83%, 20%)
CMYKcmyk(53.8%, 82.7%, 0%, 79.6%)
CIE-LABlab(5.76, 19.11, -24.93)
CIE-LCHlch(5.76, 31.41, 307.47°)
OKLaboklab(19.43% 0.0318 -0.0726)
OKLCHoklch(19.43% 0.079 293.7)
XYZxyz(1.0940, 0.6375, 3.3135)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180934 #253409
analogous
#091034 #180934 #2E0934
triadic
#180934 #341809 #093418
tetradic
#180934 #340910 #253409 #09342E
square
#180934 #340910 #253409 #09342E
split-complementary
#180934 #342E09 #103409
monochromatic
#0C051A #0C051A #180934 #301268 #481B9C

Accessibility & contrast

On white

18.63
#180934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180934
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180934#FFFFFF#000000##FFFFFF
##1809341.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180934;
/* rgb */ color: rgb(24, 9, 52);
/* oklch */ color: oklch(19.4% 0.079 293.7);
Tailwind
colors: {
  custom: {
    50: '#584a6c',
    500: '#180934',
    950: '#000000',
  },
}
SCSS
$custom: #180934;
$custom-light: #584a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#180934",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 260.93,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19432,
    "c": 0.07928,
    "h": 293.7
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#180934
secondary
#587227
accent
#ED3BAF
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180934

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

Preview Lab → · Contrast checker → · Palette generator →

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