#18063F#18063F

#18063F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.099 H 288.8°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#18063F
RGBrgb(24, 6, 63)
HSLhsl(259, 83%, 14%)
HSVhsv(259, 90%, 25%)
CMYKcmyk(61.9%, 90.5%, 0%, 75.3%)
CIE-LABlab(6.17, 25.18, -32.24)
CIE-LCHlch(6.17, 40.91, 307.99°)
OKLaboklab(20.16% 0.0318 -0.0936)
OKLCHoklch(20.16% 0.099 288.8)
XYZxyz(1.3388, 0.6833, 4.7630)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18063F #2D3F06
analogous
#06103F #18063F #34063F
triadic
#18063F #3F1806 #063F18
tetradic
#18063F #3F0610 #2D3F06 #063F34
square
#18063F #3F0610 #2D3F06 #063F34
split-complementary
#18063F #3F3406 #103F06
monochromatic
#0B031C #0B031C #18063F #2D0B77 #4311AF

Accessibility & contrast

On white

18.48
#18063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#18063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18063F
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18063F#FFFFFF#000000##FFFFFF
##18063F1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#081723
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #18063f;
/* rgb */ color: rgb(24, 6, 63);
/* oklch */ color: oklch(20.2% 0.099 288.8);
Tailwind
colors: {
  custom: {
    50: '#5b4875',
    500: '#18063f',
    950: '#000000',
  },
}
SCSS
$custom: #18063f;
$custom-light: #5b4875;
$custom-dark: #000000;
JSON
{
  "hex": "#18063f",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 258.947,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20157,
    "c": 0.09881,
    "h": 288.8
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#18063F
secondary
#627F22
accent
#F92FB9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #18063F

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

Preview Lab → · Contrast checker → · Palette generator →

#18063F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva