#6B24B1#6B24B1

#6B24B1 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.204 H 301.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6B24B1
RGBrgb(107, 36, 177)
HSLhsl(270, 66%, 42%)
HSVhsv(270, 80%, 69%)
CMYKcmyk(39.5%, 79.7%, 0%, 30.6%)
CIE-LABlab(33.05, 56.51, -61.33)
CIE-LCHlch(33.05, 83.40, 312.66°)
OKLaboklab(44.87% 0.1052 -0.1753)
OKLCHoklch(44.87% 0.204 301)
XYZxyz(14.6281, 7.5618, 42.2753)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24B1 #6AB124
analogous
#2524B1 #6B24B1 #B124B1
triadic
#6B24B1 #B16B24 #24B16B
tetradic
#6B24B1 #B12524 #6AB124 #24B1B1
square
#6B24B1 #B12524 #6AB124 #24B1B1
split-complementary
#6B24B1 #B1B124 #24B125
monochromatic
#2E0F4B #4C1A7E #6B24B1 #8A3BD7 #A86EE1

Accessibility & contrast

On white

8.36
#6B24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6B24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24B1
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24B1#FFFFFF#000000##FFFFFF
##6B24B11.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#5B4B6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b24b1;
/* rgb */ color: rgb(107, 36, 177);
/* oklch */ color: oklch(44.9% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#9c68c9',
    500: '#6b24b1',
    950: '#000000',
  },
}
SCSS
$custom: #6b24b1;
$custom-light: #9c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24b1",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 270.213,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.20442,
    "h": 301
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#6B24B1
secondary
#98C869
accent
#E93F93
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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