#060024#060024

#060024 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.8% C 0.077 H 281.6°. Best body text is #FFFFFF at 20.33:1 contrast (WCAG AA passes).

Color values

HEX#060024
RGBrgb(6, 0, 36)
HSLhsl(250, 100%, 7%)
HSVhsv(250, 100%, 14%)
CMYKcmyk(83.3%, 100%, 0%, 85.9%)
CIE-LABlab(1.50, 9.65, -19.62)
CIE-LCHlch(1.50, 21.86, 296.19°)
OKLaboklab(12.85% 0.0155 -0.0752)
OKLCHoklch(12.85% 0.077 281.6)
XYZxyz(0.3934, 0.1661, 1.6800)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060024 #1E2400
analogous
#000C24 #060024 #180024
triadic
#060024 #240600 #002406
tetradic
#060024 #24000C #1E2400 #002418
square
#060024 #24000C #1E2400 #002418
split-complementary
#060024 #241800 #0C2400
monochromatic
#05001F #05001F #060024 #100061 #1A009E

Accessibility & contrast

On white

20.33
#060024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#060024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060024
20.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060024#FFFFFF#000000##FFFFFF
##0600241.0020.331.0320.33
#FFFFFF20.331.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000625
Deuteranopia (green-blind)
#000423
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #060024;
/* rgb */ color: rgb(6, 0, 36);
/* oklch */ color: oklch(12.8% 0.077 281.6);
Tailwind
colors: {
  custom: {
    50: '#49475e',
    500: '#060024',
    950: '#000000',
  },
}
SCSS
$custom: #060024;
$custom-light: #49475e;
$custom-dark: #000000;
JSON
{
  "hex": "#060024",
  "rgb": {
    "r": 6,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 250,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.12846,
    "c": 0.07681,
    "h": 281.6
  },
  "luminance": 0.00166
}

Semantic roles & 50–950 ramp

primary
#060024
secondary
#5E6D13
accent
#FF29DB
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #060024

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

Preview Lab → · Contrast checker → · Palette generator →

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