#6B248C#6B248C

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

Color values

HEX#6B248C
RGBrgb(107, 36, 140)
HSLhsl(281, 59%, 35%)
HSVhsv(281, 74%, 55%)
CMYKcmyk(23.6%, 74.3%, 0%, 45.1%)
CIE-LABlab(30.11, 48.02, -43.64)
CIE-LCHlch(30.11, 64.89, 317.73°)
OKLaboklab(41.88% 0.1135 -0.1233)
OKLCHoklch(41.88% 0.168 312.6)
XYZxyz(11.4271, 6.2813, 25.4163)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B248C #458C24
analogous
#37248C #6B248C #8C2479
triadic
#6B248C #8C6B24 #248C6B
tetradic
#6B248C #8C3724 #458C24 #24798C
square
#6B248C #8C3724 #458C24 #24798C
split-complementary
#6B248C #798C24 #248C37
monochromatic
#210B2B #46175B #6B248C #9031BD #AC57D4

Accessibility & contrast

On white

9.31
#6B248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B248C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B248C#FFFFFF#000000##FFFFFF
##6B248C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#673B56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b248c;
/* rgb */ color: rgb(107, 36, 140);
/* oklch */ color: oklch(41.9% 0.168 312.6);
Tailwind
colors: {
  custom: {
    50: '#9966ae',
    500: '#6b248c',
    950: '#000000',
  },
}
SCSS
$custom: #6b248c;
$custom-light: #9966ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6b248c",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 280.962,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.16757,
    "h": 312.6
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B248C

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

Preview Lab → · Contrast checker → · Palette generator →

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