#6A248B#6A248B

#6A248B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.166 H 312.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6A248B
RGBrgb(106, 36, 139)
HSLhsl(281, 59%, 34%)
HSVhsv(281, 74%, 55%)
CMYKcmyk(23.7%, 74.1%, 0%, 45.5%)
CIE-LABlab(29.89, 47.59, -43.39)
CIE-LCHlch(29.89, 64.40, 317.64°)
OKLaboklab(41.67% 0.1123 -0.1226)
OKLCHoklch(41.67% 0.166 312.5)
XYZxyz(11.2341, 6.1903, 25.0242)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A248B #458B24
analogous
#37248B #6A248B #8B2479
triadic
#6A248B #8B6A24 #248B6A
tetradic
#6A248B #8B3724 #458B24 #24798B
square
#6A248B #8B3724 #458B24 #24798B
split-complementary
#6A248B #798B24 #248B37
monochromatic
#200B2A #45175A #6A248B #8F31BC #AB56D3

Accessibility & contrast

On white

9.38
#6A248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6A248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A248B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A248B#FFFFFF#000000##FFFFFF
##6A248B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#663B55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a248b;
/* rgb */ color: rgb(106, 36, 139);
/* oklch */ color: oklch(41.7% 0.166 312.5);
Tailwind
colors: {
  custom: {
    50: '#9866ad',
    500: '#6a248b',
    950: '#000000',
  },
}
SCSS
$custom: #6a248b;
$custom-light: #9866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a248b",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 280.777,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.16623,
    "h": 312.5
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#6A248B
secondary
#73B753
accent
#E24678
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A248B

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

Preview Lab → · Contrast checker → · Palette generator →

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