#18063C#18063C

#18063C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.095 H 290.3°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#18063C
RGBrgb(24, 6, 60)
HSLhsl(260, 82%, 13%)
HSVhsv(260, 90%, 24%)
CMYKcmyk(60%, 90%, 0%, 76.5%)
CIE-LABlab(5.88, 23.95, -30.57)
CIE-LCHlch(5.88, 38.83, 308.08°)
OKLaboklab(19.8% 0.033 -0.089)
OKLCHoklch(19.8% 0.095 290.3)
XYZxyz(1.2572, 0.6506, 4.3334)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18063C #2A3C06
analogous
#060F3C #18063C #33063C
triadic
#18063C #3C1806 #063C18
tetradic
#18063C #3C060F #2A3C06 #063C33
square
#18063C #3C060F #2A3C06 #063C33
split-complementary
#18063C #3C3306 #0F3C06
monochromatic
#0B031C #0B031C #18063C #2E0C74 #4511AB

Accessibility & contrast

On white

18.58
#18063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#18063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18063C
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18063C#FFFFFF#000000##FFFFFF
##18063C1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#0B1521
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #18063c;
/* rgb */ color: rgb(24, 6, 60);
/* oklch */ color: oklch(19.8% 0.095 290.3);
Tailwind
colors: {
  custom: {
    50: '#5a4872',
    500: '#18063c',
    950: '#000000',
  },
}
SCSS
$custom: #18063c;
$custom-light: #5a4872;
$custom-dark: #000000;
JSON
{
  "hex": "#18063c",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 260,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19803,
    "c": 0.09488,
    "h": 290.3
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#18063C
secondary
#5E7C22
accent
#F830B5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #18063C

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

Preview Lab → · Contrast checker → · Palette generator →

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