#180435#180435

#180435 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.089 H 295.5°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#180435
RGBrgb(24, 4, 53)
HSLhsl(264, 86%, 11%)
HSVhsv(264, 92%, 21%)
CMYKcmyk(54.7%, 92.5%, 0%, 79.2%)
CIE-LABlab(4.86, 21.89, -27.11)
CIE-LCHlch(4.86, 34.84, 308.91°)
OKLaboklab(18.63% 0.0383 -0.0804)
OKLCHoklch(18.63% 0.089 295.5)
XYZxyz(1.0625, 0.5380, 3.4153)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180435 #213504
analogous
#040835 #180435 #300435
triadic
#180435 #351804 #043518
tetradic
#180435 #350408 #213504 #043530
square
#180435 #350408 #213504 #043530
split-complementary
#180435 #353004 #083504
monochromatic
#0D021C #0D021C #180435 #32086E #4C0DA7

Accessibility & contrast

On white

18.96
#180435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180435
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180435#FFFFFF#000000##FFFFFF
##1804351.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#10111C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180435;
/* rgb */ color: rgb(24, 4, 53);
/* oklch */ color: oklch(18.6% 0.089 295.5);
Tailwind
colors: {
  custom: {
    50: '#58476d',
    500: '#180435',
    950: '#000000',
  },
}
SCSS
$custom: #180435;
$custom-light: #58476d;
$custom-dark: #000000;
JSON
{
  "hex": "#180435",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 264.49,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18635,
    "c": 0.08905,
    "h": 295.5
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#180435
secondary
#53771E
accent
#FC2CA7
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #180435

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

Preview Lab → · Contrast checker → · Palette generator →

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