#180833#180833

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

Color values

HEX#180833
RGBrgb(24, 8, 51)
HSLhsl(262, 73%, 12%)
HSVhsv(262, 84%, 20%)
CMYKcmyk(52.9%, 84.3%, 0%, 80%)
CIE-LABlab(5.48, 19.15, -24.64)
CIE-LCHlch(5.48, 31.20, 307.86°)
OKLaboklab(19.15% 0.0334 -0.0721)
OKLCHoklch(19.15% 0.079 294.8)
XYZxyz(1.0609, 0.6068, 3.1926)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180833 #233308
analogous
#080E33 #180833 #2E0833
triadic
#180833 #331808 #083318
tetradic
#180833 #33080E #233308 #08332E
square
#180833 #33080E #233308 #08332E
split-complementary
#180833 #332E08 #0E3308
monochromatic
#0C041A #0C041A #180833 #311068 #4A199D

Accessibility & contrast

On white

18.73
#180833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180833
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180833#FFFFFF#000000##FFFFFF
##1808331.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#10131C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180833;
/* rgb */ color: rgb(24, 8, 51);
/* oklch */ color: oklch(19.2% 0.079 294.8);
Tailwind
colors: {
  custom: {
    50: '#58496b',
    500: '#180833',
    950: '#000000',
  },
}
SCSS
$custom: #180833;
$custom-light: #58496b;
$custom-dark: #000000;
JSON
{
  "hex": "#180833",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 262.326,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19151,
    "c": 0.07947,
    "h": 294.8
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#180833
secondary
#557225
accent
#F038AB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180833

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

Preview Lab → · Contrast checker → · Palette generator →

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