#6F227B#6F227B

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

Color values

HEX#6F227B
RGBrgb(111, 34, 123)
HSLhsl(292, 57%, 31%)
HSVhsv(292, 72%, 48%)
CMYKcmyk(9.8%, 72.4%, 0%, 51.8%)
CIE-LABlab(29.30, 46.20, -34.29)
CIE-LCHlch(29.30, 57.53, 323.42°)
OKLaboklab(41.06% 0.1224 -0.0957)
OKLCHoklch(41.06% 0.155 322)
XYZxyz(10.7023, 5.9542, 19.3206)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F227B #2E7B22
analogous
#42227B #6F227B #7B225A
triadic
#6F227B #7B6F22 #227B6F
tetradic
#6F227B #7B4222 #2E7B22 #225A7B
square
#6F227B #7B4222 #2E7B22 #225A7B
split-complementary
#6F227B #5A7B22 #227B42
monochromatic
#18071B #44154B #6F227B #9A2FAB #BB4ACD

Accessibility & contrast

On white

9.59
#6F227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F227B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F227B#FFFFFF#000000##FFFFFF
##6F227B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7E
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#70324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f227b;
/* rgb */ color: rgb(111, 34, 123);
/* oklch */ color: oklch(41.1% 0.155 322.0);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6f227b',
    950: '#000000',
  },
}
SCSS
$custom: #6f227b;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f227b",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 291.91,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.15541,
    "h": 322
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#6F227B
secondary
#58AE4B
accent
#E0485C
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F227B

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

Preview Lab → · Contrast checker → · Palette generator →

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