#6D257A#6D257A

#6D257A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.150 H 321.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6D257A
RGBrgb(109, 37, 122)
HSLhsl(291, 53%, 31%)
HSVhsv(291, 70%, 48%)
CMYKcmyk(10.7%, 69.7%, 0%, 52.2%)
CIE-LABlab(29.36, 44.24, -33.57)
CIE-LCHlch(29.36, 55.54, 322.81°)
OKLaboklab(41.02% 0.1165 -0.0937)
OKLCHoklch(41.02% 0.15 321.2)
XYZxyz(10.4807, 5.9800, 19.0108)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D257A #327A25
analogous
#42257A #6D257A #7A255C
triadic
#6D257A #7A6D25 #257A6D
tetradic
#6D257A #7A4225 #327A25 #255C7A
square
#6D257A #7A4225 #327A25 #255C7A
split-complementary
#6D257A #5C7A25 #257A42
monochromatic
#19091C #43174B #6D257A #9733A9 #B750CA

Accessibility & contrast

On white

9.56
#6D257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D257A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D257A#FFFFFF#000000##FFFFFF
##6D257A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407C
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#6E344C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d257a;
/* rgb */ color: rgb(109, 37, 122);
/* oklch */ color: oklch(41.0% 0.150 321.2);
Tailwind
colors: {
  custom: {
    50: '#9a66a1',
    500: '#6d257a',
    950: '#000000',
  },
}
SCSS
$custom: #6d257a;
$custom-light: #9a66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d257a",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 290.824,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41023,
    "c": 0.14951,
    "h": 321.2
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#6D257A
secondary
#5DAC4E
accent
#DD4B61
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6D257A

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

Preview Lab → · Contrast checker → · Palette generator →

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