#6D24B1#6D24B1

#6D24B1 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.205 H 301.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6D24B1
RGBrgb(109, 36, 177)
HSLhsl(271, 66%, 42%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(38.4%, 79.7%, 0%, 30.6%)
CIE-LABlab(33.32, 56.83, -60.88)
CIE-LCHlch(33.32, 83.28, 313.03°)
OKLaboklab(45.12% 0.1081 -0.1739)
OKLCHoklch(45.12% 0.205 301.9)
XYZxyz(14.8714, 7.6872, 42.2867)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D24B1 #68B124
analogous
#2724B1 #6D24B1 #B124AF
triadic
#6D24B1 #B16D24 #24B16D
tetradic
#6D24B1 #B12724 #68B124 #24AFB1
square
#6D24B1 #B12724 #68B124 #24AFB1
split-complementary
#6D24B1 #AFB124 #24B127
monochromatic
#2E0F4B #4E1A7E #6D24B1 #8C3BD7 #AA6EE1

Accessibility & contrast

On white

8.28
#6D24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6D24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D24B1
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D24B1#FFFFFF#000000##FFFFFF
##6D24B11.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d24b1;
/* rgb */ color: rgb(109, 36, 177);
/* oklch */ color: oklch(45.1% 0.205 301.9);
Tailwind
colors: {
  custom: {
    50: '#9d68c9',
    500: '#6d24b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d24b1;
$custom-light: #9d68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d24b1",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 271.064,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.20476,
    "h": 301.9
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#6D24B1
secondary
#97C869
accent
#E93F91
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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