#180834#180834

#180834 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.081 H 294.2°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#180834
RGBrgb(24, 8, 52)
HSLhsl(262, 73%, 12%)
HSVhsv(262, 85%, 20%)
CMYKcmyk(53.8%, 84.6%, 0%, 79.6%)
CIE-LABlab(5.56, 19.58, -25.24)
CIE-LCHlch(5.56, 31.94, 307.80°)
OKLaboklab(19.26% 0.0331 -0.0738)
OKLCHoklch(19.26% 0.081 294.2)
XYZxyz(1.0832, 0.6158, 3.3099)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180834 #243408
analogous
#080E34 #180834 #2E0834
triadic
#180834 #341808 #083418
tetradic
#180834 #34080E #243408 #08342E
square
#180834 #34080E #243408 #08342E
split-complementary
#180834 #342E08 #0E3408
monochromatic
#0C041B #0C041B #180834 #301069 #49189E

Accessibility & contrast

On white

18.70
#180834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180834
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180834#FFFFFF#000000##FFFFFF
##1808341.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#10131D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180834;
/* rgb */ color: rgb(24, 8, 52);
/* oklch */ color: oklch(19.3% 0.081 294.2);
Tailwind
colors: {
  custom: {
    50: '#58496c',
    500: '#180834',
    950: '#000000',
  },
}
SCSS
$custom: #180834;
$custom-light: #58496c;
$custom-dark: #000000;
JSON
{
  "hex": "#180834",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 261.818,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19256,
    "c": 0.08089,
    "h": 294.2
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

primary
#180834
secondary
#577325
accent
#F038AD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180834

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

Preview Lab → · Contrast checker → · Palette generator →

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