#6C248A#6C248A

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

Color values

HEX#6C248A
RGBrgb(108, 36, 138)
HSLhsl(282, 59%, 34%)
HSVhsv(282, 74%, 54%)
CMYKcmyk(21.7%, 73.9%, 0%, 45.9%)
CIE-LABlab(30.12, 47.80, -42.38)
CIE-LCHlch(30.12, 63.88, 318.44°)
OKLaboklab(41.88% 0.1151 -0.1196)
OKLCHoklch(41.88% 0.166 313.9)
XYZxyz(11.4019, 6.2852, 24.6524)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C248A #428A24
analogous
#39248A #6C248A #8A2475
triadic
#6C248A #8A6C24 #248A6C
tetradic
#6C248A #8A3924 #428A24 #24758A
square
#6C248A #8A3924 #428A24 #24758A
split-complementary
#6C248A #758A24 #248A39
monochromatic
#200B29 #461759 #6C248A #9231BB #AE56D3

Accessibility & contrast

On white

9.30
#6C248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C248A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C248A#FFFFFF#000000##FFFFFF
##6C248A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#1D4988
Tritanopia (blue-blind)
#693A55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c248a;
/* rgb */ color: rgb(108, 36, 138);
/* oklch */ color: oklch(41.9% 0.166 313.9);
Tailwind
colors: {
  custom: {
    50: '#9a66ad',
    500: '#6c248a',
    950: '#000000',
  },
}
SCSS
$custom: #6c248a;
$custom-light: #9a66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c248a",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 282.353,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.16595,
    "h": 313.9
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#6C248A
secondary
#70B753
accent
#E24674
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C248A

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

Preview Lab → · Contrast checker → · Palette generator →

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