#6B248B#6B248B

#6B248B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.167 H 313.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6B248B
RGBrgb(107, 36, 139)
HSLhsl(281, 59%, 34%)
HSVhsv(281, 74%, 55%)
CMYKcmyk(23%, 74.1%, 0%, 45.5%)
CIE-LABlab(30.04, 47.80, -43.14)
CIE-LCHlch(30.04, 64.39, 317.93°)
OKLaboklab(41.81% 0.1136 -0.1218)
OKLCHoklch(41.81% 0.167 313)
XYZxyz(11.3537, 6.2520, 25.0298)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B248B #448B24
analogous
#38248B #6B248B #8B2478
triadic
#6B248B #8B6B24 #248B6B
tetradic
#6B248B #8B3824 #448B24 #24788B
square
#6B248B #8B3824 #448B24 #24788B
split-complementary
#6B248B #788B24 #248B38
monochromatic
#200B2A #46175A #6B248B #9031BC #AC56D3

Accessibility & contrast

On white

9.33
#6B248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6B248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B248B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B248B#FFFFFF#000000##FFFFFF
##6B248B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b248b;
/* rgb */ color: rgb(107, 36, 139);
/* oklch */ color: oklch(41.8% 0.167 313.0);
Tailwind
colors: {
  custom: {
    50: '#9966ad',
    500: '#6b248b',
    950: '#000000',
  },
}
SCSS
$custom: #6b248b;
$custom-light: #9966ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b248b",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 281.359,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41809,
    "c": 0.16658,
    "h": 313
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#6B248B
secondary
#72B753
accent
#E24676
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B248B

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

Preview Lab → · Contrast checker → · Palette generator →

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