#6B24A3#6B24A3

#6B24A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.190 H 304.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6B24A3
RGBrgb(107, 36, 163)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 64%)
CMYKcmyk(34.4%, 77.9%, 0%, 36.1%)
CIE-LABlab(31.88, 53.23, -54.84)
CIE-LCHlch(31.88, 76.43, 314.14°)
OKLaboklab(43.69% 0.109 -0.1562)
OKLCHoklch(43.69% 0.19 304.9)
XYZxyz(13.3036, 7.0320, 35.2997)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24A3 #5CA324
analogous
#2B24A3 #6B24A3 #A3249C
triadic
#6B24A3 #A36B24 #24A36B
tetradic
#6B24A3 #A32B24 #5CA324 #249CA3
square
#6B24A3 #A32B24 #5CA324 #249CA3
split-complementary
#6B24A3 #9CA324 #24A32B
monochromatic
#290E3F #4A1971 #6B24A3 #8C32D2 #A865DD

Accessibility & contrast

On white

8.73
#6B24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B24A3
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24A3#FFFFFF#000000##FFFFFF
##6B24A31.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b24a3;
/* rgb */ color: rgb(107, 36, 163);
/* oklch */ color: oklch(43.7% 0.190 304.9);
Tailwind
colors: {
  custom: {
    50: '#9b67bf',
    500: '#6b24a3',
    950: '#000000',
  },
}
SCSS
$custom: #6b24a3;
$custom-light: #9b67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24a3",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 273.543,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.19046,
    "h": 304.9
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#6B24A3
secondary
#8CC260
accent
#E7418A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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