#6B24A2#6B24A2

#6B24A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.189 H 305.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6B24A2
RGBrgb(107, 36, 162)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 64%)
CMYKcmyk(34%, 77.8%, 0%, 36.5%)
CIE-LABlab(31.80, 53.00, -54.37)
CIE-LCHlch(31.80, 75.93, 314.27°)
OKLaboklab(43.6% 0.1092 -0.1548)
OKLCHoklch(43.6% 0.189 305.2)
XYZxyz(13.2144, 6.9963, 34.8297)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24A2 #5BA224
analogous
#2C24A2 #6B24A2 #A2249A
triadic
#6B24A2 #A26B24 #24A26B
tetradic
#6B24A2 #A22C24 #5BA224 #249AA2
square
#6B24A2 #A22C24 #5BA224 #249AA2
split-complementary
#6B24A2 #9AA224 #24A22C
monochromatic
#290E3E #4A1970 #6B24A2 #8C32D1 #A864DD

Accessibility & contrast

On white

8.75
#6B24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6B24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24A2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24A2#FFFFFF#000000##FFFFFF
##6B24A21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#614462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b24a2;
/* rgb */ color: rgb(107, 36, 162);
/* oklch */ color: oklch(43.6% 0.189 305.2);
Tailwind
colors: {
  custom: {
    50: '#9b67be',
    500: '#6b24a2',
    950: '#000000',
  },
}
SCSS
$custom: #6b24a2;
$custom-light: #9b67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24a2",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 273.81,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43603,
    "c": 0.18946,
    "h": 305.2
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#6B24A2
secondary
#8BC260
accent
#E74189
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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