#6F256E#6F256E

#6F256E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.139 H 328.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#6F256E
RGBrgb(111, 37, 110)
HSLhsl(301, 50%, 29%)
HSVhsv(301, 67%, 44%)
CMYKcmyk(0%, 66.7%, 0.9%, 56.5%)
CIE-LABlab(28.98, 42.42, -26.53)
CIE-LCHlch(28.98, 50.04, 327.98°)
OKLaboklab(40.58% 0.1187 -0.0732)
OKLCHoklch(40.58% 0.139 328.3)
XYZxyz(10.0315, 5.8291, 15.3456)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F256E #256F26
analogous
#4B256F #6F256E #6F2549
triadic
#6F256E #6E6F25 #256E6F
tetradic
#6F256E #6F4B25 #256F26 #25496F
square
#6F256E #6F4B25 #256F26 #25496F
split-complementary
#6F256E #496F25 #256F4B
monochromatic
#170817 #411641 #6F256E #9D349B #C34BC1

Accessibility & contrast

On white

9.70
#6F256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F256E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F256E#FFFFFF#000000##FFFFFF
##6F256E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#37486C
Tritanopia (blue-blind)
#732E46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f256e;
/* rgb */ color: rgb(111, 37, 110);
/* oklch */ color: oklch(40.6% 0.139 328.3);
Tailwind
colors: {
  custom: {
    50: '#9b6698',
    500: '#6f256e',
    950: '#000000',
  },
}
SCSS
$custom: #6f256e;
$custom-light: #9b6698;
$custom-dark: #000000;
JSON
{
  "hex": "#6f256e",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 300.811,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.13944,
    "h": 328.3
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#6F256E
secondary
#4EA24F
accent
#DA504E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F256E

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

Preview Lab → · Contrast checker → · Palette generator →

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