#180634#180634

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

Color values

HEX#180634
RGBrgb(24, 6, 52)
HSLhsl(263, 79%, 11%)
HSVhsv(263, 88%, 20%)
CMYKcmyk(53.8%, 88.5%, 0%, 79.6%)
CIE-LABlab(5.17, 20.51, -25.87)
CIE-LCHlch(5.17, 33.02, 308.41°)
OKLaboklab(18.9% 0.0358 -0.0762)
OKLCHoklch(18.9% 0.084 295.2)
XYZxyz(1.0615, 0.5723, 3.3027)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180634 #223406
analogous
#060B34 #180634 #2F0634
triadic
#180634 #341806 #063418
tetradic
#180634 #34060B #223406 #06342F
square
#180634 #34060B #223406 #06342F
split-complementary
#180634 #342F06 #0B3406
monochromatic
#0D031B #0D031B #180634 #310C6B #4B13A2

Accessibility & contrast

On white

18.84
#180634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180634
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180634#FFFFFF#000000##FFFFFF
##1806341.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#10121C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180634;
/* rgb */ color: rgb(24, 6, 52);
/* oklch */ color: oklch(18.9% 0.084 295.2);
Tailwind
colors: {
  custom: {
    50: '#58486c',
    500: '#180634',
    950: '#000000',
  },
}
SCSS
$custom: #180634;
$custom-light: #58486c;
$custom-dark: #000000;
JSON
{
  "hex": "#180634",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 263.478,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18895,
    "c": 0.08423,
    "h": 295.2
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#180634
secondary
#547421
accent
#F632A9
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #180634

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

Preview Lab → · Contrast checker → · Palette generator →

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