#6B24A8#6B24A8

#6B24A8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.195 H 303.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6B24A8
RGBrgb(107, 36, 168)
HSLhsl(272, 65%, 40%)
HSVhsv(272, 79%, 66%)
CMYKcmyk(36.3%, 78.6%, 0%, 34.1%)
CIE-LABlab(32.29, 54.39, -57.19)
CIE-LCHlch(32.29, 78.92, 313.57°)
OKLaboklab(44.1% 0.1077 -0.1631)
OKLCHoklch(44.1% 0.195 303.4)
XYZxyz(13.7605, 7.2147, 37.7058)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24A8 #61A824
analogous
#2924A8 #6B24A8 #A824A3
triadic
#6B24A8 #A86B24 #24A86B
tetradic
#6B24A8 #A82924 #61A824 #24A3A8
square
#6B24A8 #A82924 #61A824 #24A3A8
split-complementary
#6B24A8 #A3A824 #24A829
monochromatic
#2B0E43 #4B1976 #6B24A8 #8B35D4 #A868DF

Accessibility & contrast

On white

8.60
#6B24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6B24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24A8
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24A8#FFFFFF#000000##FFFFFF
##6B24A81.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#5F4766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b24a8;
/* rgb */ color: rgb(107, 36, 168);
/* oklch */ color: oklch(44.1% 0.195 303.4);
Tailwind
colors: {
  custom: {
    50: '#9b67c3',
    500: '#6b24a8',
    950: '#000000',
  },
}
SCSS
$custom: #6b24a8;
$custom-light: #9b67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24a8",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 272.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.44101,
    "c": 0.19544,
    "h": 303.4
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#6B24A8
secondary
#90C463
accent
#E8408E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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