#180530#180530

#180530 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.081 H 298.6°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#180530
RGBrgb(24, 5, 48)
HSLhsl(267, 81%, 10%)
HSVhsv(267, 90%, 19%)
CMYKcmyk(50%, 89.6%, 0%, 81.2%)
CIE-LABlab(4.66, 19.18, -23.72)
CIE-LCHlch(4.66, 30.51, 308.96°)
OKLaboklab(18.27% 0.0386 -0.0709)
OKLCHoklch(18.27% 0.081 298.6)
XYZxyz(0.9643, 0.5161, 2.8445)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180530 #1D3005
analogous
#050730 #180530 #2D0530
triadic
#180530 #301805 #053018
tetradic
#180530 #300507 #1D3005 #05302D
square
#180530 #300507 #1D3005 #05302D
split-complementary
#180530 #302D05 #073005
monochromatic
#0E031C #0E031C #180530 #340B67 #4F119F

Accessibility & contrast

On white

19.04
#180530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180530
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180530#FFFFFF#000000##FFFFFF
##1805301.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#12101A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180530;
/* rgb */ color: rgb(24, 5, 48);
/* oklch */ color: oklch(18.3% 0.081 298.6);
Tailwind
colors: {
  custom: {
    50: '#574869',
    500: '#180530',
    950: '#000000',
  },
}
SCSS
$custom: #180530;
$custom-light: #574869;
$custom-dark: #000000;
JSON
{
  "hex": "#180530",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 266.512,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1827,
    "c": 0.08073,
    "h": 298.6
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#180530
secondary
#4D721F
accent
#F8309F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180530

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

Preview Lab → · Contrast checker → · Palette generator →

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