#6F228F#6F228F

#6F228F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.174 H 313.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6F228F
RGBrgb(111, 34, 143)
HSLhsl(282, 62%, 35%)
HSVhsv(282, 76%, 56%)
CMYKcmyk(22.4%, 76.2%, 0%, 43.9%)
CIE-LABlab(30.66, 50.31, -44.58)
CIE-LCHlch(30.66, 67.22, 318.45°)
OKLaboklab(42.46% 0.1204 -0.1259)
OKLCHoklch(42.46% 0.174 313.7)
XYZxyz(12.0846, 6.5071, 26.6007)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F228F #428F22
analogous
#38228F #6F228F #8F2279
triadic
#6F228F #8F6F22 #228F6F
tetradic
#6F228F #8F3822 #428F22 #22798F
square
#6F228F #8F3822 #428F22 #22798F
split-complementary
#6F228F #798F22 #228F38
monochromatic
#220A2C #49165E #6F228F #952EC0 #B055D7

Accessibility & contrast

On white

9.12
#6F228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6F228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F228F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F228F#FFFFFF#000000##FFFFFF
##6F228F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#6C3A57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f228f;
/* rgb */ color: rgb(111, 34, 143);
/* oklch */ color: oklch(42.5% 0.174 313.7);
Tailwind
colors: {
  custom: {
    50: '#9c66b0',
    500: '#6f228f',
    950: '#000000',
  },
}
SCSS
$custom: #6f228f;
$custom-light: #9c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f228f",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 282.385,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.17422,
    "h": 313.7
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#6F228F
secondary
#71BA52
accent
#E54373
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6F228F

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

Preview Lab → · Contrast checker → · Palette generator →

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