#6A24BD#6A24BD

#6A24BD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.216 H 297.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6A24BD
RGBrgb(106, 36, 189)
HSLhsl(267, 68%, 44%)
HSVhsv(267, 81%, 74%)
CMYKcmyk(43.9%, 81%, 0%, 25.9%)
CIE-LABlab(33.98, 59.24, -66.93)
CIE-LCHlch(33.98, 89.38, 311.51°)
OKLaboklab(45.81% 0.1 -0.1917)
OKLCHoklch(45.81% 0.216 297.6)
XYZxyz(15.7576, 7.9997, 48.8481)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A24BD #77BD24
analogous
#242BBD #6A24BD #B724BD
triadic
#6A24BD #BD6A24 #24BD6A
tetradic
#6A24BD #BD242B #77BD24 #24BDB7
square
#6A24BD #BD242B #77BD24 #24BDB7
split-complementary
#6A24BD #BDB724 #2BBD24
monochromatic
#301056 #4D1A8A #6A24BD #8943DB #A976E5

Accessibility & contrast

On white

8.08
#6A24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6A24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A24BD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A24BD#FFFFFF#000000##FFFFFF
##6A24BD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#545072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a24bd;
/* rgb */ color: rgb(106, 36, 189);
/* oklch */ color: oklch(45.8% 0.216 297.6);
Tailwind
colors: {
  custom: {
    50: '#9d68d2',
    500: '#6a24bd',
    950: '#000000',
  },
}
SCSS
$custom: #6a24bd;
$custom-light: #9d68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a24bd",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 267.451,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.21626,
    "h": 297.6
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#6A24BD
secondary
#A2CC70
accent
#EB3D9B
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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