#6B247C#6B247C

#6B247C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.152 H 319.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6B247C
RGBrgb(107, 36, 124)
HSLhsl(288, 55%, 31%)
HSVhsv(288, 71%, 49%)
CMYKcmyk(13.7%, 71%, 0%, 51.4%)
CIE-LABlab(29.01, 44.60, -35.41)
CIE-LCHlch(29.01, 56.95, 321.55°)
OKLaboklab(40.75% 0.115 -0.0992)
OKLCHoklch(40.75% 0.152 319.2)
XYZxyz(10.3319, 5.8433, 19.6485)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B247C #357C24
analogous
#3F247C #6B247C #7C2461
triadic
#6B247C #7C6B24 #247C6B
tetradic
#6B247C #7C3F24 #357C24 #24617C
square
#6B247C #7C3F24 #357C24 #24617C
split-complementary
#6B247C #617C24 #247C3F
monochromatic
#19081D #42164D #6B247C #9432AB #B44FCC

Accessibility & contrast

On white

9.68
#6B247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6B247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B247C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B247C#FFFFFF#000000##FFFFFF
##6B247C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#2A477A
Tritanopia (blue-blind)
#6B344D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b247c;
/* rgb */ color: rgb(107, 36, 124);
/* oklch */ color: oklch(40.7% 0.152 319.2);
Tailwind
colors: {
  custom: {
    50: '#9865a2',
    500: '#6b247c',
    950: '#000000',
  },
}
SCSS
$custom: #6b247c;
$custom-light: #9865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b247c",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 288.409,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.15186,
    "h": 319.2
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#6B247C
secondary
#60AE4D
accent
#DE4966
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B247C

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

Preview Lab → · Contrast checker → · Palette generator →

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