#6D248B#6D248B

#6D248B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.167 H 314.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6D248B
RGBrgb(109, 36, 139)
HSLhsl(283, 59%, 34%)
HSVhsv(283, 74%, 55%)
CMYKcmyk(21.6%, 74.1%, 0%, 45.5%)
CIE-LABlab(30.35, 48.23, -42.63)
CIE-LCHlch(30.35, 64.37, 318.53°)
OKLaboklab(42.09% 0.1163 -0.1203)
OKLCHoklch(42.09% 0.167 314)
XYZxyz(11.5970, 6.3774, 25.0412)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D248B #428B24
analogous
#3A248B #6D248B #8B2476
triadic
#6D248B #8B6D24 #248B6D
tetradic
#6D248B #8B3A24 #428B24 #24768B
square
#6D248B #8B3A24 #428B24 #24768B
split-complementary
#6D248B #768B24 #248B3A
monochromatic
#210B2A #47175A #6D248B #9331BC #AF56D3

Accessibility & contrast

On white

9.23
#6D248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D248B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D248B#FFFFFF#000000##FFFFFF
##6D248B1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#1D4989
Tritanopia (blue-blind)
#6A3A55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d248b;
/* rgb */ color: rgb(109, 36, 139);
/* oklch */ color: oklch(42.1% 0.167 314.0);
Tailwind
colors: {
  custom: {
    50: '#9a66ad',
    500: '#6d248b',
    950: '#000000',
  },
}
SCSS
$custom: #6d248b;
$custom-light: #9a66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d248b",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 282.524,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.1673,
    "h": 314
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#6D248B
secondary
#70B753
accent
#E24673
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D248B

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

Preview Lab → · Contrast checker → · Palette generator →

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