#6F227C#6F227C

#6F227C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.156 H 321.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6F227C
RGBrgb(111, 34, 124)
HSLhsl(291, 57%, 31%)
HSVhsv(291, 73%, 49%)
CMYKcmyk(10.5%, 72.6%, 0%, 51.4%)
CIE-LABlab(29.36, 46.40, -34.82)
CIE-LCHlch(29.36, 58.01, 323.11°)
OKLaboklab(41.13% 0.1224 -0.0973)
OKLCHoklch(41.13% 0.156 321.5)
XYZxyz(10.7653, 5.9794, 19.6520)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F227C #2F7C22
analogous
#42227C #6F227C #7C225C
triadic
#6F227C #7C6F22 #227C6F
tetradic
#6F227C #7C4222 #2F7C22 #225C7C
square
#6F227C #7C4222 #2F7C22 #225C7C
split-complementary
#6F227C #5C7C22 #227C42
monochromatic
#19081C #44154C #6F227C #9A2FAC #BB4BCE

Accessibility & contrast

On white

9.56
#6F227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6F227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F227C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F227C#FFFFFF#000000##FFFFFF
##6F227C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#70324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f227c;
/* rgb */ color: rgb(111, 34, 124);
/* oklch */ color: oklch(41.1% 0.156 321.5);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6f227c',
    950: '#000000',
  },
}
SCSS
$custom: #6f227c;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f227c",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 291.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41128,
    "c": 0.15634,
    "h": 321.5
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#6F227C
secondary
#59AF4B
accent
#E0485E
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F227C

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

Preview Lab → · Contrast checker → · Palette generator →

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