#6C248E#6C248E

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

Color values

HEX#6C248E
RGBrgb(108, 36, 142)
HSLhsl(281, 60%, 35%)
HSVhsv(281, 75%, 56%)
CMYKcmyk(23.9%, 74.6%, 0%, 44.3%)
CIE-LABlab(30.41, 48.67, -44.39)
CIE-LCHlch(30.41, 65.87, 317.63°)
OKLaboklab(42.17% 0.1145 -0.1255)
OKLCHoklch(42.17% 0.17 312.4)
XYZxyz(11.6968, 6.4032, 26.2057)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C248E #468E24
analogous
#37248E #6C248E #8E247B
triadic
#6C248E #8E6C24 #248E6C
tetradic
#6C248E #8E3724 #468E24 #247B8E
square
#6C248E #8E3724 #468E24 #247B8E
split-complementary
#6C248E #7B8E24 #248E37
monochromatic
#220B2C #47185D #6C248E #9130BF #AD58D5

Accessibility & contrast

On white

9.21
#6C248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6C248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C248E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C248E#FFFFFF#000000##FFFFFF
##6C248E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#683C57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c248e;
/* rgb */ color: rgb(108, 36, 142);
/* oklch */ color: oklch(42.2% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#9a66b0',
    500: '#6c248e',
    950: '#000000',
  },
}
SCSS
$custom: #6c248e;
$custom-light: #9a66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c248e",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 280.755,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.16989,
    "h": 312.4
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#6C248E
secondary
#75B955
accent
#E34578
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C248E

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

Preview Lab → · Contrast checker → · Palette generator →

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