#6F227E#6F227E

#6F227E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.158 H 320.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6F227E
RGBrgb(111, 34, 126)
HSLhsl(290, 58%, 31%)
HSVhsv(290, 73%, 49%)
CMYKcmyk(11.9%, 73%, 0%, 50.6%)
CIE-LABlab(29.49, 46.80, -35.87)
CIE-LCHlch(29.49, 58.96, 322.53°)
OKLaboklab(41.26% 0.1223 -0.1004)
OKLCHoklch(41.26% 0.158 320.6)
XYZxyz(10.8930, 6.0305, 20.3248)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F227E #317E22
analogous
#41227E #6F227E #7E225F
triadic
#6F227E #7E6F22 #227E6F
tetradic
#6F227E #7E4122 #317E22 #225F7E
square
#6F227E #7E4122 #317E22 #225F7E
split-complementary
#6F227E #5F7E22 #227E41
monochromatic
#1A081E #45154E #6F227E #992FAE #B94CCF

Accessibility & contrast

On white

9.52
#6F227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F227E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F227E#FFFFFF#000000##FFFFFF
##6F227E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#70334E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f227e;
/* rgb */ color: rgb(111, 34, 126);
/* oklch */ color: oklch(41.3% 0.158 320.6);
Tailwind
colors: {
  custom: {
    50: '#9b65a4',
    500: '#6f227e',
    950: '#000000',
  },
}
SCSS
$custom: #6f227e;
$custom-light: #9b65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f227e",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 290.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41261,
    "c": 0.15819,
    "h": 320.6
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#6F227E
secondary
#5CB14B
accent
#E14760
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F227E

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

Preview Lab → · Contrast checker → · Palette generator →

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