#6F226E#6F226E

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

Color values

HEX#6F226E
RGBrgb(111, 34, 110)
HSLhsl(301, 53%, 28%)
HSVhsv(301, 69%, 44%)
CMYKcmyk(0%, 69.4%, 0.9%, 56.5%)
CIE-LABlab(28.51, 43.72, -27.27)
CIE-LCHlch(28.51, 51.53, 328.05°)
OKLaboklab(40.24% 0.1224 -0.0753)
OKLCHoklch(40.24% 0.144 328.4)
XYZxyz(9.9419, 5.6500, 15.3158)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F226E #226F23
analogous
#49226F #6F226E #6F2247
triadic
#6F226E #6E6F22 #226E6F
tetradic
#6F226E #6F4922 #226F23 #22476F
square
#6F226E #6F4922 #226F23 #22476F
split-complementary
#6F226E #476F22 #226F49
monochromatic
#170717 #401440 #6F226E #9E309C #C645C4

Accessibility & contrast

On white

9.86
#6F226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F226E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F226E#FFFFFF#000000##FFFFFF
##6F226E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D70
Deuteranopia (green-blind)
#36476C
Tritanopia (blue-blind)
#732C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f226e;
/* rgb */ color: rgb(111, 34, 110);
/* oklch */ color: oklch(40.2% 0.144 328.4);
Tailwind
colors: {
  custom: {
    50: '#9b6498',
    500: '#6f226e',
    950: '#000000',
  },
}
SCSS
$custom: #6f226e;
$custom-light: #9b6498;
$custom-dark: #000000;
JSON
{
  "hex": "#6f226e",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 300.779,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.14368,
    "h": 328.4
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#6F226E
secondary
#4AA24C
accent
#DD4D4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F226E

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

Preview Lab → · Contrast checker → · Palette generator →

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