#6C248D#6C248D

#6C248D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.169 H 312.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6C248D
RGBrgb(108, 36, 141)
HSLhsl(281, 59%, 35%)
HSVhsv(281, 74%, 55%)
CMYKcmyk(23.4%, 74.5%, 0%, 44.7%)
CIE-LABlab(30.34, 48.45, -43.89)
CIE-LCHlch(30.34, 65.38, 317.83°)
OKLaboklab(42.1% 0.1147 -0.124)
OKLCHoklch(42.1% 0.169 312.8)
XYZxyz(11.6221, 6.3733, 25.8121)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C248D #458D24
analogous
#38248D #6C248D #8D247A
triadic
#6C248D #8D6C24 #248D6C
tetradic
#6C248D #8D3824 #458D24 #247A8D
square
#6C248D #8D3824 #458D24 #247A8D
split-complementary
#6C248D #7A8D24 #248D38
monochromatic
#210B2B #47185C #6C248D #9130BE #AD57D4

Accessibility & contrast

On white

9.23
#6C248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6C248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C248D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C248D#FFFFFF#000000##FFFFFF
##6C248D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c248d;
/* rgb */ color: rgb(108, 36, 141);
/* oklch */ color: oklch(42.1% 0.169 312.8);
Tailwind
colors: {
  custom: {
    50: '#9a66af',
    500: '#6c248d',
    950: '#000000',
  },
}
SCSS
$custom: #6c248d;
$custom-light: #9a66af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c248d",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 281.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.1689,
    "h": 312.8
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#6C248D
secondary
#74B854
accent
#E34577
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C248D

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

Preview Lab → · Contrast checker → · Palette generator →

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