#6B24A4#6B24A4

#6B24A4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.191 H 304.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6B24A4
RGBrgb(107, 36, 164)
HSLhsl(273, 64%, 39%)
HSVhsv(273, 78%, 64%)
CMYKcmyk(34.8%, 78%, 0%, 35.7%)
CIE-LABlab(31.96, 53.46, -55.31)
CIE-LCHlch(31.96, 76.93, 314.02°)
OKLaboklab(43.77% 0.1087 -0.1576)
OKLCHoklch(43.77% 0.191 304.6)
XYZxyz(13.3936, 7.0679, 35.7734)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24A4 #5DA424
analogous
#2B24A4 #6B24A4 #A4249D
triadic
#6B24A4 #A46B24 #24A46B
tetradic
#6B24A4 #A42B24 #5DA424 #249DA4
square
#6B24A4 #A42B24 #5DA424 #249DA4
split-complementary
#6B24A4 #9DA424 #24A42B
monochromatic
#2A0E40 #4A1972 #6B24A4 #8B33D2 #A865DD

Accessibility & contrast

On white

8.70
#6B24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6B24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24A4
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24A4#FFFFFF#000000##FFFFFF
##6B24A41.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#604563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b24a4;
/* rgb */ color: rgb(107, 36, 164);
/* oklch */ color: oklch(43.8% 0.191 304.6);
Tailwind
colors: {
  custom: {
    50: '#9b67c0',
    500: '#6b24a4',
    950: '#000000',
  },
}
SCSS
$custom: #6b24a4;
$custom-light: #9b67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24a4",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 273.281,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.19146,
    "h": 304.6
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#6B24A4
secondary
#8DC361
accent
#E7418B
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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