#180533#180533

#180533 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.085 H 296.4°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#180533
RGBrgb(24, 5, 51)
HSLhsl(265, 82%, 11%)
HSVhsv(265, 90%, 20%)
CMYKcmyk(52.9%, 90.2%, 0%, 80%)
CIE-LABlab(4.89, 20.53, -25.58)
CIE-LCHlch(4.89, 32.80, 308.75°)
OKLaboklab(18.6% 0.0376 -0.0759)
OKLCHoklch(18.6% 0.085 296.4)
XYZxyz(1.0283, 0.5417, 3.1817)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180533 #203305
analogous
#050933 #180533 #2F0533
triadic
#180533 #331805 #053318
tetradic
#180533 #330509 #203305 #05332F
square
#180533 #330509 #203305 #05332F
split-complementary
#180533 #332F05 #093305
monochromatic
#0D031C #0D031C #180533 #320A6B #4C10A2

Accessibility & contrast

On white

18.95
#180533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180533
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180533#FFFFFF#000000##FFFFFF
##1805331.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180533;
/* rgb */ color: rgb(24, 5, 51);
/* oklch */ color: oklch(18.6% 0.085 296.4);
Tailwind
colors: {
  custom: {
    50: '#58486b',
    500: '#180533',
    950: '#000000',
  },
}
SCSS
$custom: #180533;
$custom-light: #58486b;
$custom-dark: #000000;
JSON
{
  "hex": "#180533",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 264.783,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18598,
    "c": 0.08467,
    "h": 296.4
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#180533
secondary
#51741F
accent
#F82FA5
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180533

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

Preview Lab → · Contrast checker → · Palette generator →

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