#6B248E#6B248E

#6B248E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.170 H 311.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6B248E
RGBrgb(107, 36, 142)
HSLhsl(280, 60%, 35%)
HSVhsv(280, 75%, 56%)
CMYKcmyk(24.6%, 74.6%, 0%, 44.3%)
CIE-LABlab(30.26, 48.46, -44.64)
CIE-LCHlch(30.26, 65.89, 317.35°)
OKLaboklab(42.03% 0.1132 -0.1262)
OKLCHoklch(42.03% 0.17 311.9)
XYZxyz(11.5759, 6.3409, 26.2001)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B248E #478E24
analogous
#36248E #6B248E #8E247C
triadic
#6B248E #8E6B24 #248E6B
tetradic
#6B248E #8E3624 #478E24 #247C8E
square
#6B248E #8E3624 #478E24 #247C8E
split-complementary
#6B248E #7C8E24 #248E36
monochromatic
#210B2C #46185D #6B248E #9030BF #AB58D5

Accessibility & contrast

On white

9.26
#6B248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6B248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B248E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B248E#FFFFFF#000000##FFFFFF
##6B248E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#673C57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b248e;
/* rgb */ color: rgb(107, 36, 142);
/* oklch */ color: oklch(42.0% 0.170 311.9);
Tailwind
colors: {
  custom: {
    50: '#9966b0',
    500: '#6b248e',
    950: '#000000',
  },
}
SCSS
$custom: #6b248e;
$custom-light: #9966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b248e",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 280.189,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.16954,
    "h": 311.9
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#6B248E
secondary
#76B955
accent
#E34579
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B248E

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

Preview Lab → · Contrast checker → · Palette generator →

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