#6B247E#6B247E

#6B247E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 318.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6B247E
RGBrgb(107, 36, 126)
HSLhsl(287, 56%, 32%)
HSVhsv(287, 71%, 49%)
CMYKcmyk(15.1%, 71.4%, 0%, 50.6%)
CIE-LABlab(29.14, 45.02, -36.46)
CIE-LCHlch(29.14, 57.93, 321.00°)
OKLaboklab(40.89% 0.1149 -0.1022)
OKLCHoklch(40.89% 0.154 318.3)
XYZxyz(10.4597, 5.8944, 20.3214)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B247E #377E24
analogous
#3E247E #6B247E #7E2464
triadic
#6B247E #7E6B24 #247E6B
tetradic
#6B247E #7E3E24 #377E24 #24647E
square
#6B247E #7E3E24 #377E24 #24647E
split-complementary
#6B247E #647E24 #247E3E
monochromatic
#1A091F #43164E #6B247E #9332AE #B250CD

Accessibility & contrast

On white

9.64
#6B247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6B247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B247E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B247E#FFFFFF#000000##FFFFFF
##6B247E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#6B354E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b247e;
/* rgb */ color: rgb(107, 36, 126);
/* oklch */ color: oklch(40.9% 0.154 318.3);
Tailwind
colors: {
  custom: {
    50: '#9865a4',
    500: '#6b247e',
    950: '#000000',
  },
}
SCSS
$custom: #6b247e;
$custom-light: #9865a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b247e",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 287.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.1538,
    "h": 318.3
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#6B247E
secondary
#62B04E
accent
#DF4969
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B247E

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

Preview Lab → · Contrast checker → · Palette generator →

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