#180330#180330

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

Color values

HEX#180330
RGBrgb(24, 3, 48)
HSLhsl(268, 88%, 10%)
HSVhsv(268, 94%, 19%)
CMYKcmyk(50%, 93.8%, 0%, 81.2%)
CIE-LABlab(4.27, 20.05, -24.35)
CIE-LCHlch(4.27, 31.54, 309.48°)
OKLaboklab(17.87% 0.042 -0.0736)
OKLCHoklch(17.87% 0.085 299.7)
XYZxyz(0.9426, 0.4727, 2.8373)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180330 #1B3003
analogous
#030530 #180330 #2E0330
triadic
#180330 #301803 #033018
tetradic
#180330 #300305 #1B3003 #03302E
square
#180330 #300305 #1B3003 #03302E
split-complementary
#180330 #302E03 #053003
monochromatic
#0E021D #0E021D #180330 #35076A #520AA3

Accessibility & contrast

On white

19.19
#180330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#180330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180330
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180330#FFFFFF#000000##FFFFFF
##1803301.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#000E2F
Tritanopia (blue-blind)
#120E19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #180330;
/* rgb */ color: rgb(24, 3, 48);
/* oklch */ color: oklch(17.9% 0.085 299.7);
Tailwind
colors: {
  custom: {
    50: '#574769',
    500: '#180330',
    950: '#000000',
  },
}
SCSS
$custom: #180330;
$custom-light: #574769;
$custom-dark: #000000;
JSON
{
  "hex": "#180330",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 268,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.17867,
    "c": 0.08474,
    "h": 299.7
  },
  "luminance": 0.00473
}

Semantic roles & 50–950 ramp

primary
#180330
secondary
#4A731B
accent
#FE299B
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180330

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

Preview Lab → · Contrast checker → · Palette generator →

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