#6C248F#6C248F

#6C248F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.171 H 312.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6C248F
RGBrgb(108, 36, 143)
HSLhsl(280, 60%, 35%)
HSVhsv(280, 75%, 56%)
CMYKcmyk(24.5%, 74.8%, 0%, 43.9%)
CIE-LABlab(30.48, 48.89, -44.89)
CIE-LCHlch(30.48, 66.37, 317.44°)
OKLaboklab(42.25% 0.1144 -0.1269)
OKLCHoklch(42.25% 0.171 312)
XYZxyz(11.7722, 6.4334, 26.6029)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C248F #478F24
analogous
#36248F #6C248F #8F247C
triadic
#6C248F #8F6C24 #248F6C
tetradic
#6C248F #8F3624 #478F24 #247C8F
square
#6C248F #8F3624 #478F24 #247C8F
split-complementary
#6C248F #7C8F24 #248F36
monochromatic
#220B2D #47185E #6C248F #9130C0 #AC58D5

Accessibility & contrast

On white

9.18
#6C248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6C248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C248F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C248F#FFFFFF#000000##FFFFFF
##6C248F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#683C57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c248f;
/* rgb */ color: rgb(108, 36, 143);
/* oklch */ color: oklch(42.2% 0.171 312.0);
Tailwind
colors: {
  custom: {
    50: '#9a66b0',
    500: '#6c248f',
    950: '#000000',
  },
}
SCSS
$custom: #6c248f;
$custom-light: #9a66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c248f",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 280.374,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.17087,
    "h": 312
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#6C248F
secondary
#76B955
accent
#E34579
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C248F

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

Preview Lab → · Contrast checker → · Palette generator →

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