#180735#180735

#180735 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.084 H 294.0°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#180735
RGBrgb(24, 7, 53)
HSLhsl(262, 77%, 12%)
HSVhsv(262, 87%, 21%)
CMYKcmyk(54.7%, 86.8%, 0%, 79.2%)
CIE-LABlab(5.45, 20.48, -26.16)
CIE-LCHlch(5.45, 33.22, 308.05°)
OKLaboklab(19.19% 0.0342 -0.0766)
OKLCHoklch(19.19% 0.084 294)
XYZxyz(1.0951, 0.6032, 3.4262)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180735 #243507
analogous
#070D35 #180735 #2F0735
triadic
#180735 #351807 #073518
tetradic
#180735 #35070D #243507 #07352F
square
#180735 #35070D #243507 #07352F
split-complementary
#180735 #352F07 #0D3507
monochromatic
#0C041B #0C041B #180735 #300E6B #4915A1

Accessibility & contrast

On white

18.74
#180735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180735
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180735#FFFFFF#000000##FFFFFF
##1807351.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180735;
/* rgb */ color: rgb(24, 7, 53);
/* oklch */ color: oklch(19.2% 0.084 294.0);
Tailwind
colors: {
  custom: {
    50: '#58496d',
    500: '#180735',
    950: '#000000',
  },
}
SCSS
$custom: #180735;
$custom-light: #58496d;
$custom-dark: #000000;
JSON
{
  "hex": "#180735",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 262.174,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19186,
    "c": 0.08391,
    "h": 294
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#180735
secondary
#577523
accent
#F335AD
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180735

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

Preview Lab → · Contrast checker → · Palette generator →

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