#6D258D#6D258D

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

Color values

HEX#6D258D
RGBrgb(109, 37, 141)
HSLhsl(282, 58%, 35%)
HSVhsv(282, 74%, 55%)
CMYKcmyk(22.7%, 73.8%, 0%, 44.7%)
CIE-LABlab(30.64, 48.24, -43.40)
CIE-LCHlch(30.64, 64.89, 318.02°)
OKLaboklab(42.34% 0.115 -0.1225)
OKLCHoklch(42.34% 0.168 313.2)
XYZxyz(11.7751, 6.4978, 25.8281)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D258D #458D25
analogous
#39258D #6D258D #8D2579
triadic
#6D258D #8D6D25 #258D6D
tetradic
#6D258D #8D3925 #458D25 #25798D
square
#6D258D #8D3925 #458D25 #25798D
split-complementary
#6D258D #798D25 #258D39
monochromatic
#220C2C #48185D #6D258D #9232BD #AE59D3

Accessibility & contrast

On white

9.13
#6D258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6D258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D258D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D258D#FFFFFF#000000##FFFFFF
##6D258D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#6A3C57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d258d;
/* rgb */ color: rgb(109, 37, 141);
/* oklch */ color: oklch(42.3% 0.168 313.2);
Tailwind
colors: {
  custom: {
    50: '#9b67af',
    500: '#6d258d',
    950: '#000000',
  },
}
SCSS
$custom: #6d258d;
$custom-light: #9b67af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d258d",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 281.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.16804,
    "h": 313.2
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#6D258D
secondary
#74B856
accent
#E24676
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D258D

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

Preview Lab → · Contrast checker → · Palette generator →

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