#6B247B#6B247B

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

Color values

HEX#6B247B
RGBrgb(107, 36, 123)
HSLhsl(289, 55%, 31%)
HSVhsv(289, 71%, 48%)
CMYKcmyk(13%, 70.7%, 0%, 51.8%)
CIE-LABlab(28.95, 44.40, -34.88)
CIE-LCHlch(28.95, 56.46, 321.84°)
OKLaboklab(40.68% 0.1151 -0.0976)
OKLCHoklch(40.68% 0.151 319.7)
XYZxyz(10.2690, 5.8181, 19.3171)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B247B #347B24
analogous
#3F247B #6B247B #7B245F
triadic
#6B247B #7B6B24 #247B6B
tetradic
#6B247B #7B3F24 #347B24 #245F7B
square
#6B247B #7B3F24 #347B24 #245F7B
split-complementary
#6B247B #5F7B24 #247B3F
monochromatic
#19081C #42164C #6B247B #9432AA #B44ECB

Accessibility & contrast

On white

9.71
#6B247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6B247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B247B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B247B#FFFFFF#000000##FFFFFF
##6B247B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7E
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#6B344C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b247b;
/* rgb */ color: rgb(107, 36, 123);
/* oklch */ color: oklch(40.7% 0.151 319.7);
Tailwind
colors: {
  custom: {
    50: '#9865a2',
    500: '#6b247b',
    950: '#000000',
  },
}
SCSS
$custom: #6b247b;
$custom-light: #9865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b247b",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 288.966,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.1509,
    "h": 319.7
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#6B247B
secondary
#5FAD4D
accent
#DE4A65
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B247B

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

Preview Lab → · Contrast checker → · Palette generator →

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