#6F226F#6F226F

#6F226F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.145 H 327.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6F226F
RGBrgb(111, 34, 111)
HSLhsl(300, 53%, 28%)
HSVhsv(300, 69%, 44%)
CMYKcmyk(0%, 69.4%, 0%, 56.5%)
CIE-LABlab(28.57, 43.91, -27.82)
CIE-LCHlch(28.57, 51.98, 327.64°)
OKLaboklab(40.3% 0.1224 -0.0769)
OKLCHoklch(40.3% 0.145 327.9)
XYZxyz(9.9967, 5.6719, 15.6041)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F226F #226F22
analogous
#48226F #6F226F #6F2248
triadic
#6F226F #6F6F22 #226F6F
tetradic
#6F226F #6F4822 #226F22 #22486F
square
#6F226F #6F4822 #226F22 #22486F
split-complementary
#6F226F #486F22 #226F48
monochromatic
#170717 #401440 #6F226F #9E309E #C645C6

Accessibility & contrast

On white

9.84
#6F226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F226F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F226F#FFFFFF#000000##FFFFFF
##6F226F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#732D45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f226f;
/* rgb */ color: rgb(111, 34, 111);
/* oklch */ color: oklch(40.3% 0.145 327.9);
Tailwind
colors: {
  custom: {
    50: '#9b6498',
    500: '#6f226f',
    950: '#000000',
  },
}
SCSS
$custom: #6f226f;
$custom-light: #9b6498;
$custom-dark: #000000;
JSON
{
  "hex": "#6f226f",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 300,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.14455,
    "h": 327.9
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#6F226F
secondary
#4AA24A
accent
#DD4B4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F226F

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

Preview Lab → · Contrast checker → · Palette generator →

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