#6B24A0#6B24A0

#6B24A0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.187 H 305.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6B24A0
RGBrgb(107, 36, 160)
HSLhsl(274, 63%, 38%)
HSVhsv(274, 78%, 63%)
CMYKcmyk(33.1%, 77.5%, 0%, 37.3%)
CIE-LABlab(31.64, 52.53, -53.42)
CIE-LCHlch(31.64, 74.92, 314.52°)
OKLaboklab(43.44% 0.1097 -0.152)
OKLCHoklch(43.44% 0.187 305.8)
XYZxyz(13.0380, 6.9257, 33.9008)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B24A0 #59A024
analogous
#2D24A0 #6B24A0 #A02497
triadic
#6B24A0 #A06B24 #24A06B
tetradic
#6B24A0 #A02D24 #59A024 #2497A0
square
#6B24A0 #A02D24 #59A024 #2497A0
split-complementary
#6B24A0 #97A024 #24A02D
monochromatic
#280E3C #4A196E #6B24A0 #8C31D1 #A863DC

Accessibility & contrast

On white

8.80
#6B24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6B24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B24A0
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B24A0#FFFFFF#000000##FFFFFF
##6B24A01.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#614361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b24a0;
/* rgb */ color: rgb(107, 36, 160);
/* oklch */ color: oklch(43.4% 0.187 305.8);
Tailwind
colors: {
  custom: {
    50: '#9b67bd',
    500: '#6b24a0',
    950: '#000000',
  },
}
SCSS
$custom: #6b24a0;
$custom-light: #9b67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b24a0",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 274.355,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.18747,
    "h": 305.8
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#6B24A0
secondary
#89C15F
accent
#E64188
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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