#6D248E#6D248E

#6D248E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.170 H 312.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6D248E
RGBrgb(109, 36, 142)
HSLhsl(281, 60%, 35%)
HSVhsv(281, 75%, 56%)
CMYKcmyk(23.2%, 74.6%, 0%, 44.3%)
CIE-LABlab(30.56, 48.88, -44.14)
CIE-LCHlch(30.56, 65.86, 317.92°)
OKLaboklab(42.31% 0.1159 -0.1247)
OKLCHoklch(42.31% 0.17 312.9)
XYZxyz(11.8192, 6.4663, 26.2115)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D248E #458E24
analogous
#38248E #6D248E #8E247A
triadic
#6D248E #8E6D24 #248E6D
tetradic
#6D248E #8E3824 #458E24 #247A8E
square
#6D248E #8E3824 #458E24 #247A8E
split-complementary
#6D248E #7A8E24 #248E38
monochromatic
#220B2C #48185D #6D248E #9230BF #AE58D5

Accessibility & contrast

On white

9.16
#6D248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6D248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D248E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D248E#FFFFFF#000000##FFFFFF
##6D248E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#19498C
Tritanopia (blue-blind)
#693B57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d248e;
/* rgb */ color: rgb(109, 36, 142);
/* oklch */ color: oklch(42.3% 0.170 312.9);
Tailwind
colors: {
  custom: {
    50: '#9b66b0',
    500: '#6d248e',
    950: '#000000',
  },
}
SCSS
$custom: #6d248e;
$custom-light: #9b66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d248e",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 281.321,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.17023,
    "h": 312.9
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#6D248E
secondary
#74B955
accent
#E34576
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D248E

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

Preview Lab → · Contrast checker → · Palette generator →

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