#6B258D#6B258D

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

Color values

HEX#6B258D
RGBrgb(107, 37, 141)
HSLhsl(280, 58%, 35%)
HSVhsv(280, 74%, 55%)
CMYKcmyk(24.1%, 73.8%, 0%, 44.7%)
CIE-LABlab(30.33, 47.82, -43.90)
CIE-LCHlch(30.33, 64.91, 317.44°)
OKLaboklab(42.06% 0.1123 -0.1241)
OKLCHoklch(42.06% 0.167 312.1)
XYZxyz(11.5318, 6.3723, 25.8167)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B258D #478D25
analogous
#37258D #6B258D #8D257B
triadic
#6B258D #8D6B25 #258D6B
tetradic
#6B258D #8D3725 #478D25 #257B8D
square
#6B258D #8D3725 #478D25 #257B8D
split-complementary
#6B258D #7B8D25 #258D37
monochromatic
#210C2C #46185D #6B258D #9032BD #AB59D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B258D#FFFFFF#000000##FFFFFF
##6B258D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#673C57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b258d;
/* rgb */ color: rgb(107, 37, 141);
/* oklch */ color: oklch(42.1% 0.167 312.1);
Tailwind
colors: {
  custom: {
    50: '#9966af',
    500: '#6b258d',
    950: '#000000',
  },
}
SCSS
$custom: #6b258d;
$custom-light: #9966af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b258d",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 280.385,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42063,
    "c": 0.16734,
    "h": 312.1
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#6B258D
secondary
#76B856
accent
#E24679
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B258D

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

Preview Lab → · Contrast checker → · Palette generator →

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