#180230#180230

#180230 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.087 H 300.2°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#180230
RGBrgb(24, 2, 48)
HSLhsl(269, 92%, 10%)
HSVhsv(269, 96%, 19%)
CMYKcmyk(50%, 95.8%, 0%, 81.2%)
CIE-LABlab(4.07, 20.49, -24.66)
CIE-LCHlch(4.07, 32.06, 309.72°)
OKLaboklab(17.66% 0.0437 -0.0751)
OKLCHoklch(17.66% 0.087 300.2)
XYZxyz(0.9318, 0.4510, 2.8337)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180230 #1A3002
analogous
#020330 #180230 #2F0230
triadic
#180230 #301802 #023018
tetradic
#180230 #300203 #1A3002 #02302F
square
#180230 #300203 #1A3002 #02302F
split-complementary
#180230 #302F02 #033002
monochromatic
#0F011D #0F011D #180230 #35046B #5307A6

Accessibility & contrast

On white

19.26
#180230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180230
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180230#FFFFFF#000000##FFFFFF
##1802301.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180230;
/* rgb */ color: rgb(24, 2, 48);
/* oklch */ color: oklch(17.7% 0.087 300.2);
Tailwind
colors: {
  custom: {
    50: '#574769',
    500: '#180230',
    950: '#000000',
  },
}
SCSS
$custom: #180230;
$custom-light: #574769;
$custom-dark: #000000;
JSON
{
  "hex": "#180230",
  "rgb": {
    "r": 24,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 268.696,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17658,
    "c": 0.08685,
    "h": 300.2
  },
  "luminance": 0.00451
}

Semantic roles & 50–950 ramp

primary
#180230
secondary
#497519
accent
#FF2999
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180230

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

Preview Lab → · Contrast checker → · Palette generator →

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