#6C248B#6C248B

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

Color values

HEX#6C248B
RGBrgb(108, 36, 139)
HSLhsl(282, 59%, 34%)
HSVhsv(282, 74%, 55%)
CMYKcmyk(22.3%, 74.1%, 0%, 45.5%)
CIE-LABlab(30.19, 48.01, -42.88)
CIE-LCHlch(30.19, 64.38, 318.23°)
OKLaboklab(41.95% 0.115 -0.121)
OKLCHoklch(41.95% 0.167 313.5)
XYZxyz(11.4746, 6.3143, 25.0354)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C248B #438B24
analogous
#39248B #6C248B #8B2477
triadic
#6C248B #8B6C24 #248B6C
tetradic
#6C248B #8B3924 #438B24 #24778B
square
#6C248B #8B3924 #438B24 #24778B
split-complementary
#6C248B #778B24 #248B39
monochromatic
#200B2A #46175A #6C248B #9231BC #AE56D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C248B#FFFFFF#000000##FFFFFF
##6C248B1.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)
#00438E
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#693A55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c248b;
/* rgb */ color: rgb(108, 36, 139);
/* oklch */ color: oklch(41.9% 0.167 313.5);
Tailwind
colors: {
  custom: {
    50: '#9a66ad',
    500: '#6c248b',
    950: '#000000',
  },
}
SCSS
$custom: #6c248b;
$custom-light: #9a66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c248b",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 281.942,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.16693,
    "h": 313.5
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#6C248B
secondary
#71B753
accent
#E24675
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C248B

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

Preview Lab → · Contrast checker → · Palette generator →

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