#18063A#18063A

#18063A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.092 H 291.4°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#18063A
RGBrgb(24, 6, 58)
HSLhsl(261, 81%, 13%)
HSVhsv(261, 90%, 23%)
CMYKcmyk(58.6%, 89.7%, 0%, 77.3%)
CIE-LABlab(5.69, 23.11, -29.42)
CIE-LCHlch(5.69, 37.41, 308.14°)
OKLaboklab(19.57% 0.0337 -0.0858)
OKLCHoklch(19.57% 0.092 291.4)
XYZxyz(1.2053, 0.6299, 4.0602)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18063A #283A06
analogous
#060E3A #18063A #32063A
triadic
#18063A #3A1806 #063A18
tetradic
#18063A #3A060E #283A06 #063A32
square
#18063A #3A060E #283A06 #063A32
split-complementary
#18063A #3A3206 #0E3A06
monochromatic
#0B031C #0B031C #18063A #2F0C71 #4611A9

Accessibility & contrast

On white

18.65
#18063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18063A
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18063A#FFFFFF#000000##FFFFFF
##18063A1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001139
Tritanopia (blue-blind)
#0C1420
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #18063a;
/* rgb */ color: rgb(24, 6, 58);
/* oklch */ color: oklch(19.6% 0.092 291.4);
Tailwind
colors: {
  custom: {
    50: '#594871',
    500: '#18063a',
    950: '#000000',
  },
}
SCSS
$custom: #18063a;
$custom-light: #594871;
$custom-dark: #000000;
JSON
{
  "hex": "#18063a",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 260.769,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19571,
    "c": 0.09223,
    "h": 291.4
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#18063A
secondary
#5C7A22
accent
#F830B3
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #18063A

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

Preview Lab → · Contrast checker → · Palette generator →

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