#6B248A#6B248A

#6B248A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.166 H 313.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6B248A
RGBrgb(107, 36, 138)
HSLhsl(282, 59%, 34%)
HSVhsv(282, 74%, 54%)
CMYKcmyk(22.5%, 73.9%, 0%, 45.9%)
CIE-LABlab(29.97, 47.58, -42.63)
CIE-LCHlch(29.97, 63.89, 318.14°)
OKLaboklab(41.74% 0.1137 -0.1203)
OKLCHoklch(41.74% 0.166 313.4)
XYZxyz(11.2809, 6.2229, 24.6467)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B248A #438A24
analogous
#38248A #6B248A #8A2476
triadic
#6B248A #8A6B24 #248A6B
tetradic
#6B248A #8A3824 #438A24 #24768A
square
#6B248A #8A3824 #438A24 #24768A
split-complementary
#6B248A #768A24 #248A38
monochromatic
#200B29 #451759 #6B248A #9131BB #AD56D3

Accessibility & contrast

On white

9.36
#6B248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6B248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B248A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B248A#FFFFFF#000000##FFFFFF
##6B248A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b248a;
/* rgb */ color: rgb(107, 36, 138);
/* oklch */ color: oklch(41.7% 0.166 313.4);
Tailwind
colors: {
  custom: {
    50: '#9966ad',
    500: '#6b248a',
    950: '#000000',
  },
}
SCSS
$custom: #6b248a;
$custom-light: #9966ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b248a",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 281.765,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.16559,
    "h": 313.4
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#6B248A
secondary
#71B753
accent
#E24675
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B248A

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

Preview Lab → · Contrast checker → · Palette generator →

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