#6B24B0#6B24B0

#6B24B0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.203 H 301.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6B24B0
RGBrgb(107, 36, 176)
HSLhsl(270, 66%, 42%)
HSVhsv(270, 80%, 69%)
CMYKcmyk(39.2%, 79.5%, 0%, 31%)
CIE-LABlab(32.97, 56.28, -60.88)
CIE-LCHlch(32.97, 82.90, 312.75°)
OKLaboklab(44.78% 0.1055 -0.1739)
OKLCHoklch(44.78% 0.203 301.2)
XYZxyz(14.5288, 7.5220, 41.7523)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24B0 #69B024
analogous
#2524B0 #6B24B0 #B024AF
triadic
#6B24B0 #B06B24 #24B06B
tetradic
#6B24B0 #B02524 #69B024 #24AFB0
square
#6B24B0 #B02524 #69B024 #24AFB0
split-complementary
#6B24B0 #AFB024 #24B025
monochromatic
#2D0F4A #4C1A7D #6B24B0 #8A3AD7 #A86DE1

Accessibility & contrast

On white

8.39
#6B24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B24B0
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24B0#FFFFFF#000000##FFFFFF
##6B24B01.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#5B4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b24b0;
/* rgb */ color: rgb(107, 36, 176);
/* oklch */ color: oklch(44.8% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#9c68c9',
    500: '#6b24b0',
    950: '#000000',
  },
}
SCSS
$custom: #6b24b0;
$custom-light: #9c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24b0",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 270.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44782,
    "c": 0.20343,
    "h": 301.2
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#6B24B0
secondary
#97C868
accent
#E93F93
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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