#6B247D#6B247D

#6B247D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.153 H 318.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6B247D
RGBrgb(107, 36, 125)
HSLhsl(288, 55%, 32%)
HSVhsv(288, 71%, 49%)
CMYKcmyk(14.4%, 71.2%, 0%, 51%)
CIE-LABlab(29.08, 44.81, -35.94)
CIE-LCHlch(29.08, 57.44, 321.27°)
OKLaboklab(40.82% 0.115 -0.1007)
OKLCHoklch(40.82% 0.153 318.8)
XYZxyz(10.3955, 5.8687, 19.9833)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B247D #367D24
analogous
#3F247D #6B247D #7D2463
triadic
#6B247D #7D6B24 #247D6B
tetradic
#6B247D #7D3F24 #367D24 #24637D
square
#6B247D #7D3F24 #367D24 #24637D
split-complementary
#6B247D #637D24 #247D3F
monochromatic
#1A091E #42164D #6B247D #9432AD #B34FCC

Accessibility & contrast

On white

9.66
#6B247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B247D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B247D#FFFFFF#000000##FFFFFF
##6B247D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#6B354E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b247d;
/* rgb */ color: rgb(107, 36, 125);
/* oklch */ color: oklch(40.8% 0.153 318.8);
Tailwind
colors: {
  custom: {
    50: '#9865a3',
    500: '#6b247d',
    950: '#000000',
  },
}
SCSS
$custom: #6b247d;
$custom-light: #9865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b247d",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 287.865,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.15283,
    "h": 318.8
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#6B247D
secondary
#61AF4D
accent
#DF4967
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B247D

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

Preview Lab → · Contrast checker → · Palette generator →

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