#6B24A5#6B24A5

#6B24A5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.192 H 304.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6B24A5
RGBrgb(107, 36, 165)
HSLhsl(273, 64%, 39%)
HSVhsv(273, 78%, 65%)
CMYKcmyk(35.2%, 78.2%, 0%, 35.3%)
CIE-LABlab(32.04, 53.69, -55.78)
CIE-LCHlch(32.04, 77.43, 313.91°)
OKLaboklab(43.85% 0.1085 -0.159)
OKLCHoklch(43.85% 0.192 304.3)
XYZxyz(13.4842, 7.1042, 36.2509)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24A5 #5EA524
analogous
#2A24A5 #6B24A5 #A5249F
triadic
#6B24A5 #A56B24 #24A56B
tetradic
#6B24A5 #A52A24 #5EA524 #249FA5
square
#6B24A5 #A52A24 #5EA524 #249FA5
split-complementary
#6B24A5 #9FA524 #24A52A
monochromatic
#2A0E41 #4A1973 #6B24A5 #8B34D3 #A866DE

Accessibility & contrast

On white

8.67
#6B24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6B24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24A5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24A5#FFFFFF#000000##FFFFFF
##6B24A51.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#604664
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b24a5;
/* rgb */ color: rgb(107, 36, 165);
/* oklch */ color: oklch(43.9% 0.192 304.3);
Tailwind
colors: {
  custom: {
    50: '#9b67c1',
    500: '#6b24a5',
    950: '#000000',
  },
}
SCSS
$custom: #6b24a5;
$custom-light: #9b67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24a5",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 273.023,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43851,
    "c": 0.19245,
    "h": 304.3
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#6B24A5
secondary
#8DC362
accent
#E7418C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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