#6F228E#6F228E

#6F228E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 314.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6F228E
RGBrgb(111, 34, 142)
HSLhsl(283, 61%, 35%)
HSVhsv(283, 76%, 56%)
CMYKcmyk(21.8%, 76.1%, 0%, 44.3%)
CIE-LABlab(30.59, 50.10, -44.08)
CIE-LCHlch(30.59, 66.73, 318.65°)
OKLaboklab(42.39% 0.1206 -0.1244)
OKLCHoklch(42.39% 0.173 314.1)
XYZxyz(12.0092, 6.4770, 26.2035)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F228E #418E22
analogous
#39228E #6F228E #8E2277
triadic
#6F228E #8E6F22 #228E6F
tetradic
#6F228E #8E3922 #418E22 #22778E
square
#6F228E #8E3922 #418E22 #22778E
split-complementary
#6F228E #778E22 #228E39
monochromatic
#220A2B #48165D #6F228E #962EBF #B154D6

Accessibility & contrast

On white

9.15
#6F228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F228E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F228E#FFFFFF#000000##FFFFFF
##6F228E1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#6C3A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f228e;
/* rgb */ color: rgb(111, 34, 142);
/* oklch */ color: oklch(42.4% 0.173 314.1);
Tailwind
colors: {
  custom: {
    50: '#9c66b0',
    500: '#6f228e',
    950: '#000000',
  },
}
SCSS
$custom: #6f228e;
$custom-light: #9c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f228e",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 282.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4239,
    "c": 0.17327,
    "h": 314.1
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#6F228E
secondary
#70BA52
accent
#E44372
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F228E

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

Preview Lab → · Contrast checker → · Palette generator →

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