#6F257D#6F257D

#6F257D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.153 H 320.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#6F257D
RGBrgb(111, 37, 125)
HSLhsl(290, 54%, 32%)
HSVhsv(290, 70%, 49%)
CMYKcmyk(11.2%, 70.4%, 0%, 51%)
CIE-LABlab(29.87, 45.34, -34.63)
CIE-LCHlch(29.87, 57.05, 322.62°)
OKLaboklab(41.52% 0.1189 -0.0968)
OKLCHoklch(41.52% 0.153 320.9)
XYZxyz(10.9184, 6.1839, 20.0166)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F257D #337D25
analogous
#43257D #6F257D #7D255F
triadic
#6F257D #7D6F25 #257D6F
tetradic
#6F257D #7D4325 #337D25 #255F7D
square
#6F257D #7D4325 #337D25 #255F7D
split-complementary
#6F257D #5F7D25 #257D43
monochromatic
#1B091F #45174E #6F257D #9933AC #B851CB

Accessibility & contrast

On white

9.39
#6F257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6F257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F257D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F257D#FFFFFF#000000##FFFFFF
##6F257D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054180
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#70354E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f257d;
/* rgb */ color: rgb(111, 37, 125);
/* oklch */ color: oklch(41.5% 0.153 320.9);
Tailwind
colors: {
  custom: {
    50: '#9b66a3',
    500: '#6f257d',
    950: '#000000',
  },
}
SCSS
$custom: #6f257d;
$custom-light: #9b66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f257d",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 290.455,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.15333,
    "h": 320.9
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#6F257D
secondary
#5EAF4F
accent
#DE4A62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F257D

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

Preview Lab → · Contrast checker → · Palette generator →

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