#6B247A#6B247A

#6B247A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.150 H 320.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6B247A
RGBrgb(107, 36, 122)
HSLhsl(290, 54%, 31%)
HSVhsv(290, 70%, 48%)
CMYKcmyk(12.3%, 70.5%, 0%, 52.2%)
CIE-LABlab(28.88, 44.19, -34.35)
CIE-LCHlch(28.88, 55.97, 322.14°)
OKLaboklab(40.62% 0.1151 -0.0961)
OKLCHoklch(40.62% 0.15 320.1)
XYZxyz(10.2067, 5.7932, 18.9892)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B247A #337A24
analogous
#40247A #6B247A #7A245E
triadic
#6B247A #7A6B24 #247A6B
tetradic
#6B247A #7A4024 #337A24 #245E7A
square
#6B247A #7A4024 #337A24 #245E7A
split-complementary
#6B247A #5E7A24 #247A40
monochromatic
#18081B #42164B #6B247A #9432A9 #B54ECB

Accessibility & contrast

On white

9.73
#6B247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B247A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B247A#FFFFFF#000000##FFFFFF
##6B247A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7D
Deuteranopia (green-blind)
#2C4778
Tritanopia (blue-blind)
#6B334C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b247a;
/* rgb */ color: rgb(107, 36, 122);
/* oklch */ color: oklch(40.6% 0.150 320.1);
Tailwind
colors: {
  custom: {
    50: '#9865a1',
    500: '#6b247a',
    950: '#000000',
  },
}
SCSS
$custom: #6b247a;
$custom-light: #9865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b247a",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 289.535,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.14993,
    "h": 320.1
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#6B247A
secondary
#5EAC4D
accent
#DE4A64
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6B247A

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

Preview Lab → · Contrast checker → · Palette generator →

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