#6A24B1#6A24B1

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

Color values

HEX#6A24B1
RGBrgb(106, 36, 177)
HSLhsl(270, 66%, 42%)
HSVhsv(270, 80%, 69%)
CMYKcmyk(40.1%, 79.7%, 0%, 30.6%)
CIE-LABlab(32.92, 56.36, -61.56)
CIE-LCHlch(32.92, 83.46, 312.48°)
OKLaboklab(44.75% 0.1037 -0.176)
OKLCHoklch(44.75% 0.204 300.5)
XYZxyz(14.5086, 7.5001, 42.2697)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24B1 #6BB124
analogous
#2425B1 #6A24B1 #B124B1
triadic
#6A24B1 #B16A24 #24B16A
tetradic
#6A24B1 #B12425 #6BB124 #24B1B1
square
#6A24B1 #B12425 #6BB124 #24B1B1
split-complementary
#6A24B1 #B1B124 #25B124
monochromatic
#2D0F4B #4C1A7E #6A24B1 #893BD7 #A76EE1

Accessibility & contrast

On white

8.40
#6A24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6A24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24B1
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24B1#FFFFFF#000000##FFFFFF
##6A24B11.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#594B6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a24b1;
/* rgb */ color: rgb(106, 36, 177);
/* oklch */ color: oklch(44.7% 0.204 300.5);
Tailwind
colors: {
  custom: {
    50: '#9c68c9',
    500: '#6a24b1',
    950: '#000000',
  },
}
SCSS
$custom: #6a24b1;
$custom-light: #9c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24b1",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 269.787,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44747,
    "c": 0.20427,
    "h": 300.5
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#6A24B1
secondary
#99C869
accent
#E93F95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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