#6D257D#6D257D

#6D257D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.152 H 319.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6D257D
RGBrgb(109, 37, 125)
HSLhsl(289, 54%, 32%)
HSVhsv(289, 70%, 49%)
CMYKcmyk(12.8%, 70.4%, 0%, 51%)
CIE-LABlab(29.55, 44.85, -35.16)
CIE-LCHlch(29.55, 56.99, 321.91°)
OKLaboklab(41.22% 0.1164 -0.0984)
OKLCHoklch(41.22% 0.152 319.8)
XYZxyz(10.6695, 6.0555, 20.0049)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D257D #357D25
analogous
#41257D #6D257D #7D2561
triadic
#6D257D #7D6D25 #257D6D
tetradic
#6D257D #7D4125 #357D25 #25617D
square
#6D257D #7D4125 #357D25 #25617D
split-complementary
#6D257D #617D25 #257D41
monochromatic
#1B091F #44174E #6D257D #9633AC #B551CB

Accessibility & contrast

On white

9.50
#6D257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6D257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D257D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D257D#FFFFFF#000000##FFFFFF
##6D257D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024180
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#6D354E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d257d;
/* rgb */ color: rgb(109, 37, 125);
/* oklch */ color: oklch(41.2% 0.152 319.8);
Tailwind
colors: {
  custom: {
    50: '#9a66a3',
    500: '#6d257d',
    950: '#000000',
  },
}
SCSS
$custom: #6d257d;
$custom-light: #9a66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d257d",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 289.091,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.1524,
    "h": 319.8
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#6D257D
secondary
#60AF4F
accent
#DE4A65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D257D

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

Preview Lab → · Contrast checker → · Palette generator →

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