#6F226D#6F226D

#6F226D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.143 H 328.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#6F226D
RGBrgb(111, 34, 109)
HSLhsl(302, 53%, 28%)
HSVhsv(302, 69%, 44%)
CMYKcmyk(0%, 69.4%, 1.8%, 56.5%)
CIE-LABlab(28.45, 43.54, -26.72)
CIE-LCHlch(28.45, 51.08, 328.47°)
OKLaboklab(40.18% 0.1223 -0.0737)
OKLCHoklch(40.18% 0.143 328.9)
XYZxyz(9.8878, 5.6284, 15.0306)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F226D #226F24
analogous
#4A226F #6F226D #6F2246
triadic
#6F226D #6D6F22 #226D6F
tetradic
#6F226D #6F4A22 #226F24 #22466F
square
#6F226D #6F4A22 #226F24 #22466F
split-complementary
#6F226D #466F22 #226F4A
monochromatic
#170717 #40143F #6F226D #9E309B #C645C3

Accessibility & contrast

On white

9.88
#6F226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F226D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F226D#FFFFFF#000000##FFFFFF
##6F226D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D6F
Deuteranopia (green-blind)
#36476B
Tritanopia (blue-blind)
#732C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f226d;
/* rgb */ color: rgb(111, 34, 109);
/* oklch */ color: oklch(40.2% 0.143 328.9);
Tailwind
colors: {
  custom: {
    50: '#9b6497',
    500: '#6f226d',
    950: '#000000',
  },
}
SCSS
$custom: #6f226d;
$custom-light: #9b6497;
$custom-dark: #000000;
JSON
{
  "hex": "#6f226d",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 301.558,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.14281,
    "h": 328.9
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#6F226D
secondary
#4AA24D
accent
#DD4F4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F226D

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

Preview Lab → · Contrast checker → · Palette generator →

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