#180633#180633

#180633 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.083 H 295.9°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#180633
RGBrgb(24, 6, 51)
HSLhsl(264, 79%, 11%)
HSVhsv(264, 88%, 20%)
CMYKcmyk(52.9%, 88.2%, 0%, 80%)
CIE-LABlab(5.09, 20.07, -25.26)
CIE-LCHlch(5.09, 32.27, 308.47°)
OKLaboklab(18.79% 0.0362 -0.0746)
OKLCHoklch(18.79% 0.083 295.9)
XYZxyz(1.0392, 0.5634, 3.1853)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180633 #213306
analogous
#060A33 #180633 #2E0633
triadic
#180633 #331806 #063318
tetradic
#180633 #33060A #213306 #06332E
square
#180633 #33060A #213306 #06332E
split-complementary
#180633 #332E06 #0A3306
monochromatic
#0D031B #0D031B #180633 #320C6A #4C13A1

Accessibility & contrast

On white

18.87
#180633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180633
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180633#FFFFFF#000000##FFFFFF
##1806331.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#001032
Tritanopia (blue-blind)
#11121C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180633;
/* rgb */ color: rgb(24, 6, 51);
/* oklch */ color: oklch(18.8% 0.083 295.9);
Tailwind
colors: {
  custom: {
    50: '#58486b',
    500: '#180633',
    950: '#000000',
  },
}
SCSS
$custom: #180633;
$custom-light: #58486b;
$custom-dark: #000000;
JSON
{
  "hex": "#180633",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 264,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18786,
    "c": 0.08288,
    "h": 295.9
  },
  "luminance": 0.00563
}

Semantic roles & 50–950 ramp

primary
#180633
secondary
#537421
accent
#F532A7
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180633

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

Preview Lab → · Contrast checker → · Palette generator →

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