#6F227A#6F227A

#6F227A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.154 H 322.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6F227A
RGBrgb(111, 34, 122)
HSLhsl(293, 56%, 31%)
HSVhsv(293, 72%, 48%)
CMYKcmyk(9%, 72.1%, 0%, 52.2%)
CIE-LABlab(29.23, 46.00, -33.76)
CIE-LCHlch(29.23, 57.06, 323.73°)
OKLaboklab(41% 0.1224 -0.0942)
OKLCHoklch(41% 0.154 322.4)
XYZxyz(10.6401, 5.9293, 18.9926)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F227A #2D7A22
analogous
#43227A #6F227A #7A2259
triadic
#6F227A #7A6F22 #227A6F
tetradic
#6F227A #7A4322 #2D7A22 #22597A
square
#6F227A #7A4322 #2D7A22 #22597A
split-complementary
#6F227A #597A22 #227A43
monochromatic
#18071A #43154A #6F227A #9B2FAA #BC4ACD

Accessibility & contrast

On white

9.61
#6F227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6F227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F227A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F227A#FFFFFF#000000##FFFFFF
##6F227A1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7D
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#70314B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f227a;
/* rgb */ color: rgb(111, 34, 122);
/* oklch */ color: oklch(41.0% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#9b65a1',
    500: '#6f227a',
    950: '#000000',
  },
}
SCSS
$custom: #6f227a;
$custom-light: #9b65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f227a",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 292.5,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.15448,
    "h": 322.4
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#6F227A
secondary
#57AD4B
accent
#E0485B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F227A

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

Preview Lab → · Contrast checker → · Palette generator →

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