#180935#180935

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

Color values

HEX#180935
RGBrgb(24, 9, 53)
HSLhsl(260, 71%, 12%)
HSVhsv(260, 83%, 21%)
CMYKcmyk(54.7%, 83%, 0%, 79.2%)
CIE-LABlab(5.84, 19.53, -25.53)
CIE-LCHlch(5.84, 32.14, 307.42°)
OKLaboklab(19.54% 0.0316 -0.0743)
OKLCHoklch(19.54% 0.081 293)
XYZxyz(1.1168, 0.6466, 3.4334)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180935 #263509
analogous
#091035 #180935 #2E0935
triadic
#180935 #351809 #093518
tetradic
#180935 #350910 #263509 #09352E
square
#180935 #350910 #263509 #09352E
split-complementary
#180935 #352E09 #103509
monochromatic
#0C041A #0C041A #180935 #301269 #471B9E

Accessibility & contrast

On white

18.59
#180935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180935
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180935#FFFFFF#000000##FFFFFF
##1809351.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180935;
/* rgb */ color: rgb(24, 9, 53);
/* oklch */ color: oklch(19.5% 0.081 293.0);
Tailwind
colors: {
  custom: {
    50: '#584a6d',
    500: '#180935',
    950: '#000000',
  },
}
SCSS
$custom: #180935;
$custom-light: #584a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#180935",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 260.455,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19536,
    "c": 0.08072,
    "h": 293
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#180935
secondary
#597327
accent
#EE3AB0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180935

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

Preview Lab → · Contrast checker → · Palette generator →

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