#180635#180635

#180635 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.086 H 294.5°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#180635
RGBrgb(24, 6, 53)
HSLhsl(263, 80%, 12%)
HSVhsv(263, 89%, 21%)
CMYKcmyk(54.7%, 88.7%, 0%, 79.2%)
CIE-LABlab(5.25, 20.95, -26.48)
CIE-LCHlch(5.25, 33.76, 308.35°)
OKLaboklab(19.01% 0.0355 -0.0779)
OKLCHoklch(19.01% 0.086 294.5)
XYZxyz(1.0842, 0.5814, 3.4226)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180635 #233506
analogous
#060C35 #180635 #300635
triadic
#180635 #351806 #063518
tetradic
#180635 #35060C #233506 #063530
square
#180635 #35060C #233506 #063530
split-complementary
#180635 #353006 #0C3506
monochromatic
#0C031B #0C031B #180635 #310C6C #4A12A3

Accessibility & contrast

On white

18.81
#180635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180635
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180635#FFFFFF#000000##FFFFFF
##1806351.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#0F121D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180635;
/* rgb */ color: rgb(24, 6, 53);
/* oklch */ color: oklch(19.0% 0.086 294.5);
Tailwind
colors: {
  custom: {
    50: '#58486d',
    500: '#180635',
    950: '#000000',
  },
}
SCSS
$custom: #180635;
$custom-light: #58486d;
$custom-dark: #000000;
JSON
{
  "hex": "#180635",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 262.979,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19006,
    "c": 0.08558,
    "h": 294.5
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#180635
secondary
#557521
accent
#F632AB
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #180635

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

Preview Lab → · Contrast checker → · Palette generator →

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