#180933#180933

#180933 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.078 H 294.3°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#180933
RGBrgb(24, 9, 51)
HSLhsl(261, 70%, 12%)
HSVhsv(261, 82%, 20%)
CMYKcmyk(52.9%, 82.4%, 0%, 80%)
CIE-LABlab(5.68, 18.68, -24.32)
CIE-LCHlch(5.68, 30.67, 307.53°)
OKLaboklab(19.33% 0.0321 -0.0709)
OKLCHoklch(19.33% 0.078 294.3)
XYZxyz(1.0718, 0.6286, 3.1962)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180933 #243309
analogous
#090F33 #180933 #2D0933
triadic
#180933 #331809 #093318
tetradic
#180933 #33090F #243309 #09332D
square
#180933 #33090F #243309 #09332D
split-complementary
#180933 #332D09 #0F3309
monochromatic
#0C051A #0C051A #180933 #301267 #491B9B

Accessibility & contrast

On white

18.65
#180933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180933
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180933#FFFFFF#000000##FFFFFF
##1809331.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#10131D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180933;
/* rgb */ color: rgb(24, 9, 51);
/* oklch */ color: oklch(19.3% 0.078 294.3);
Tailwind
colors: {
  custom: {
    50: '#584a6b',
    500: '#180933',
    950: '#000000',
  },
}
SCSS
$custom: #180933;
$custom-light: #584a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#180933",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 261.429,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19329,
    "c": 0.07783,
    "h": 294.3
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#180933
secondary
#577127
accent
#ED3BAD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180933

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

Preview Lab → · Contrast checker → · Palette generator →

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