#6B248D#6B248D

#6B248D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.169 H 312.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6B248D
RGBrgb(107, 36, 141)
HSLhsl(281, 59%, 35%)
HSVhsv(281, 74%, 55%)
CMYKcmyk(24.1%, 74.5%, 0%, 44.7%)
CIE-LABlab(30.18, 48.24, -44.14)
CIE-LCHlch(30.18, 65.39, 317.54°)
OKLaboklab(41.96% 0.1133 -0.1248)
OKLCHoklch(41.96% 0.169 312.2)
XYZxyz(11.5011, 6.3110, 25.8064)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B248D #468D24
analogous
#36248D #6B248D #8D247B
triadic
#6B248D #8D6B24 #248D6B
tetradic
#6B248D #8D3624 #468D24 #247B8D
square
#6B248D #8D3624 #468D24 #247B8D
split-complementary
#6B248D #7B8D24 #248D36
monochromatic
#210B2B #46185C #6B248D #9030BE #AC57D4

Accessibility & contrast

On white

9.28
#6B248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6B248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B248D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B248D#FFFFFF#000000##FFFFFF
##6B248D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#17488B
Tritanopia (blue-blind)
#673B56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b248d;
/* rgb */ color: rgb(107, 36, 141);
/* oklch */ color: oklch(42.0% 0.169 312.2);
Tailwind
colors: {
  custom: {
    50: '#9966af',
    500: '#6b248d',
    950: '#000000',
  },
}
SCSS
$custom: #6b248d;
$custom-light: #9966af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b248d",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 280.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.16855,
    "h": 312.2
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#6B248D
secondary
#75B854
accent
#E34578
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B248D

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

Preview Lab → · Contrast checker → · Palette generator →

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