#6A24B0#6A24B0

#6A24B0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.203 H 300.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6A24B0
RGBrgb(106, 36, 176)
HSLhsl(270, 66%, 42%)
HSVhsv(270, 80%, 69%)
CMYKcmyk(39.8%, 79.5%, 0%, 31%)
CIE-LABlab(32.83, 56.12, -61.10)
CIE-LCHlch(32.83, 82.96, 312.57°)
OKLaboklab(44.66% 0.104 -0.1746)
OKLCHoklch(44.66% 0.203 300.8)
XYZxyz(14.4093, 7.4604, 41.7467)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24B0 #6AB024
analogous
#2424B0 #6A24B0 #B024B0
triadic
#6A24B0 #B06A24 #24B06A
tetradic
#6A24B0 #B02424 #6AB024 #24B0B0
square
#6A24B0 #B02424 #6AB024 #24B0B0
split-complementary
#6A24B0 #B0B024 #24B024
monochromatic
#2D0F4A #4B1A7D #6A24B0 #893AD7 #A76DE1

Accessibility & contrast

On white

8.43
#6A24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6A24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24B0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24B0#FFFFFF#000000##FFFFFF
##6A24B01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#5A4A6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a24b0;
/* rgb */ color: rgb(106, 36, 176);
/* oklch */ color: oklch(44.7% 0.203 300.8);
Tailwind
colors: {
  custom: {
    50: '#9b68c9',
    500: '#6a24b0',
    950: '#000000',
  },
}
SCSS
$custom: #6a24b0;
$custom-light: #9b68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24b0",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 270,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4466,
    "c": 0.20326,
    "h": 300.8
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#6A24B0
secondary
#98C868
accent
#E93F94
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A24B0

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

Preview Lab → · Contrast checker → · Palette generator →

#6A24B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva