#6E257D#6E257D

#6E257D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.153 H 320.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#6E257D
RGBrgb(110, 37, 125)
HSLhsl(290, 54%, 32%)
HSVhsv(290, 70%, 49%)
CMYKcmyk(12%, 70.4%, 0%, 51%)
CIE-LABlab(29.71, 45.09, -34.90)
CIE-LCHlch(29.71, 57.02, 322.26°)
OKLaboklab(41.37% 0.1177 -0.0976)
OKLCHoklch(41.37% 0.153 320.3)
XYZxyz(10.7932, 6.1193, 20.0107)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E257D #347D25
analogous
#42257D #6E257D #7D2560
triadic
#6E257D #7D6E25 #257D6E
tetradic
#6E257D #7D4225 #347D25 #25607D
square
#6E257D #7D4225 #347D25 #25607D
split-complementary
#6E257D #607D25 #257D42
monochromatic
#1B091F #44174E #6E257D #9833AC #B751CB

Accessibility & contrast

On white

9.44
#6E257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6E257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E257D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E257D#FFFFFF#000000##FFFFFF
##6E257D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#2D497B
Tritanopia (blue-blind)
#6F354E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e257d;
/* rgb */ color: rgb(110, 37, 125);
/* oklch */ color: oklch(41.4% 0.153 320.3);
Tailwind
colors: {
  custom: {
    50: '#9a66a3',
    500: '#6e257d',
    950: '#000000',
  },
}
SCSS
$custom: #6e257d;
$custom-light: #9a66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e257d",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 289.773,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41367,
    "c": 0.15287,
    "h": 320.3
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#6E257D
secondary
#5FAF4F
accent
#DE4A63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E257D

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

Preview Lab → · Contrast checker → · Palette generator →

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