#180835#180835

#180835 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.082 H 293.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#180835
RGBrgb(24, 8, 53)
HSLhsl(261, 74%, 12%)
HSVhsv(261, 85%, 21%)
CMYKcmyk(54.7%, 84.9%, 0%, 79.2%)
CIE-LABlab(5.64, 20.00, -25.85)
CIE-LCHlch(5.64, 32.68, 307.74°)
OKLaboklab(19.36% 0.0329 -0.0754)
OKLCHoklch(19.36% 0.082 293.5)
XYZxyz(1.1059, 0.6249, 3.4298)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180835 #253508
analogous
#080F35 #180835 #2F0835
triadic
#180835 #351808 #083518
tetradic
#180835 #35080F #253508 #08352F
square
#180835 #35080F #253508 #08352F
split-complementary
#180835 #352F08 #0F3508
monochromatic
#0C041B #0C041B #180835 #30106A #48189F

Accessibility & contrast

On white

18.67
#180835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180835
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180835#FFFFFF#000000##FFFFFF
##1808351.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#0F141D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180835;
/* rgb */ color: rgb(24, 8, 53);
/* oklch */ color: oklch(19.4% 0.082 293.5);
Tailwind
colors: {
  custom: {
    50: '#58496d',
    500: '#180835',
    950: '#000000',
  },
}
SCSS
$custom: #180835;
$custom-light: #58496d;
$custom-dark: #000000;
JSON
{
  "hex": "#180835",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 261.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19363,
    "c": 0.0823,
    "h": 293.5
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#180835
secondary
#587425
accent
#F037AF
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180835

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

Preview Lab → · Contrast checker → · Palette generator →

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