#6F257E#6F257E

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

Color values

HEX#6F257E
RGBrgb(111, 37, 126)
HSLhsl(290, 55%, 32%)
HSVhsv(290, 71%, 49%)
CMYKcmyk(11.9%, 70.6%, 0%, 50.6%)
CIE-LABlab(29.94, 45.54, -35.16)
CIE-LCHlch(29.94, 57.53, 322.33°)
OKLaboklab(41.58% 0.1189 -0.0983)
OKLCHoklch(41.58% 0.154 320.4)
XYZxyz(10.9826, 6.2096, 20.3547)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F257E #347E25
analogous
#43257E #6F257E #7E2561
triadic
#6F257E #7E6F25 #257E6F
tetradic
#6F257E #7E4325 #347E25 #25617E
square
#6F257E #7E4325 #347E25 #25617E
split-complementary
#6F257E #617E25 #257E43
monochromatic
#1C091F #45174F #6F257E #9933AD #B751CC

Accessibility & contrast

On white

9.37
#6F257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F257E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F257E#FFFFFF#000000##FFFFFF
##6F257E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f257e;
/* rgb */ color: rgb(111, 37, 126);
/* oklch */ color: oklch(41.6% 0.154 320.4);
Tailwind
colors: {
  custom: {
    50: '#9b66a4',
    500: '#6f257e',
    950: '#000000',
  },
}
SCSS
$custom: #6f257e;
$custom-light: #9b66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f257e",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 289.888,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.15429,
    "h": 320.4
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F257E

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

Preview Lab → · Contrast checker → · Palette generator →

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