#6D24B0#6D24B0

#6D24B0 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.204 H 302.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6D24B0
RGBrgb(109, 36, 176)
HSLhsl(271, 66%, 42%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(38.1%, 79.5%, 0%, 31%)
CIE-LABlab(33.24, 56.59, -60.42)
CIE-LCHlch(33.24, 82.79, 313.13°)
OKLaboklab(45.03% 0.1084 -0.1725)
OKLCHoklch(45.03% 0.204 302.1)
XYZxyz(14.7721, 7.6475, 41.7637)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D24B0 #67B024
analogous
#2724B0 #6D24B0 #B024AD
triadic
#6D24B0 #B06D24 #24B06D
tetradic
#6D24B0 #B02724 #67B024 #24ADB0
square
#6D24B0 #B02724 #67B024 #24ADB0
split-complementary
#6D24B0 #ADB024 #24B027
monochromatic
#2E0F4A #4E1A7D #6D24B0 #8C3AD7 #AA6DE1

Accessibility & contrast

On white

8.30
#6D24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D24B0
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D24B0#FFFFFF#000000##FFFFFF
##6D24B01.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d24b0;
/* rgb */ color: rgb(109, 36, 176);
/* oklch */ color: oklch(45.0% 0.204 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d68c9',
    500: '#6d24b0',
    950: '#000000',
  },
}
SCSS
$custom: #6d24b0;
$custom-light: #9d68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d24b0",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 271.286,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.20378,
    "h": 302.1
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#6D24B0
secondary
#96C868
accent
#E93F90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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