#6F257F#6F257F

#6F257F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.155 H 320.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6F257F
RGBrgb(111, 37, 127)
HSLhsl(289, 55%, 32%)
HSVhsv(289, 71%, 50%)
CMYKcmyk(12.6%, 70.9%, 0%, 50.2%)
CIE-LABlab(30.00, 45.74, -35.68)
CIE-LCHlch(30.00, 58.01, 322.04°)
OKLaboklab(41.65% 0.1189 -0.0998)
OKLCHoklch(41.65% 0.155 320)
XYZxyz(11.0474, 6.2355, 20.6962)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F257F #357F25
analogous
#42257F #6F257F #7F2562
triadic
#6F257F #7F6F25 #257F6F
tetradic
#6F257F #7F4225 #357F25 #25627F
square
#6F257F #7F4225 #357F25 #25627F
split-complementary
#6F257F #627F25 #257F42
monochromatic
#1C0920 #461750 #6F257F #9833AE #B752CD

Accessibility & contrast

On white

9.35
#6F257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6F257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F257F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F257F#FFFFFF#000000##FFFFFF
##6F257F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014282
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#6F354F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f257f;
/* rgb */ color: rgb(111, 37, 127);
/* oklch */ color: oklch(41.6% 0.155 320.0);
Tailwind
colors: {
  custom: {
    50: '#9b66a4',
    500: '#6f257f',
    950: '#000000',
  },
}
SCSS
$custom: #6f257f;
$custom-light: #9b66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f257f",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 289.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.15523,
    "h": 320
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#6F257F
secondary
#60B14F
accent
#DE4A64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F257F

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

Preview Lab → · Contrast checker → · Palette generator →

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