#6F229A#6F229A

#6F229A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 309.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6F229A
RGBrgb(111, 34, 154)
HSLhsl(279, 64%, 37%)
HSVhsv(279, 78%, 60%)
CMYKcmyk(27.9%, 77.9%, 0%, 39.6%)
CIE-LABlab(31.48, 52.69, -50.00)
CIE-LCHlch(31.48, 72.64, 316.50°)
OKLaboklab(43.3% 0.1184 -0.1418)
OKLCHoklch(43.3% 0.185 309.9)
XYZxyz(12.9591, 6.8569, 31.2064)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F229A #4D9A22
analogous
#33229A #6F229A #9A2289
triadic
#6F229A #9A6F22 #229A6F
tetradic
#6F229A #9A3322 #4D9A22 #22899A
square
#6F229A #9A3322 #4D9A22 #22899A
split-complementary
#6F229A #899A22 #229A33
monochromatic
#270C36 #4B1768 #6F229A #932DCC #AD5BDB

Accessibility & contrast

On white

8.86
#6F229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6F229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F229A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F229A#FFFFFF#000000##FFFFFF
##6F229A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#693F5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f229a;
/* rgb */ color: rgb(111, 34, 154);
/* oklch */ color: oklch(43.3% 0.185 309.9);
Tailwind
colors: {
  custom: {
    50: '#9d66b9',
    500: '#6f229a',
    950: '#000000',
  },
}
SCSS
$custom: #6f229a;
$custom-light: #9d66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f229a",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 278.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43303,
    "c": 0.18476,
    "h": 309.9
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#6F229A
secondary
#7DBF58
accent
#E7417C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F229A

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

Preview Lab → · Contrast checker → · Palette generator →

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