#180136#180136

#180136 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.096 H 296.2°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#180136
RGBrgb(24, 1, 54)
HSLhsl(266, 96%, 11%)
HSVhsv(266, 98%, 21%)
CMYKcmyk(55.6%, 98.1%, 0%, 78.8%)
CIE-LABlab(4.36, 23.73, -28.66)
CIE-LCHlch(4.36, 37.21, 309.63°)
OKLaboklab(18.17% 0.0423 -0.086)
OKLCHoklch(18.17% 0.096 296.2)
XYZxyz(1.0532, 0.4822, 3.5269)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180136 #1F3601
analogous
#010436 #180136 #320136
triadic
#180136 #361801 #013618
tetradic
#180136 #360104 #1F3601 #013632
square
#180136 #360104 #1F3601 #013632
split-complementary
#180136 #363201 #043601
monochromatic
#0D011E #0D011E #180136 #330272 #4D03AE

Accessibility & contrast

On white

19.15
#180136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180136
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180136#FFFFFF#000000##FFFFFF
##1801361.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F37
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#0F101C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #180136;
/* rgb */ color: rgb(24, 1, 54);
/* oklch */ color: oklch(18.2% 0.096 296.2);
Tailwind
colors: {
  custom: {
    50: '#58466d',
    500: '#180136',
    950: '#000000',
  },
}
SCSS
$custom: #180136;
$custom-light: #58466d;
$custom-dark: #000000;
JSON
{
  "hex": "#180136",
  "rgb": {
    "r": 24,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 266.038,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18173,
    "c": 0.09581,
    "h": 296.2
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#180136
secondary
#507B18
accent
#FF29A2
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180136

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

Preview Lab → · Contrast checker → · Palette generator →

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