#6F2296#6F2296

#6F2296 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 311.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6F2296
RGBrgb(111, 34, 150)
HSLhsl(280, 63%, 36%)
HSVhsv(280, 77%, 59%)
CMYKcmyk(26%, 77.3%, 0%, 41.2%)
CIE-LABlab(31.17, 51.82, -48.05)
CIE-LCHlch(31.17, 70.67, 317.16°)
OKLaboklab(42.99% 0.1192 -0.1361)
OKLCHoklch(42.99% 0.181 311.2)
XYZxyz(12.6315, 6.7259, 29.4811)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2296 #499622
analogous
#352296 #6F2296 #962283
triadic
#6F2296 #966F22 #22966F
tetradic
#6F2296 #963522 #499622 #228396
square
#6F2296 #963522 #499622 #228396
split-complementary
#6F2296 #839622 #229635
monochromatic
#250B32 #4A1764 #6F2296 #942DC8 #AE59D9

Accessibility & contrast

On white

8.95
#6F2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6F2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2296
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2296#FFFFFF#000000##FFFFFF
##6F22961.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#6A3E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f2296;
/* rgb */ color: rgb(111, 34, 150);
/* oklch */ color: oklch(43.0% 0.181 311.2);
Tailwind
colors: {
  custom: {
    50: '#9d66b6',
    500: '#6f2296',
    950: '#000000',
  },
}
SCSS
$custom: #6f2296;
$custom-light: #9d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2296",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 279.828,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42993,
    "c": 0.18093,
    "h": 311.2
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#6F2296
secondary
#79BE56
accent
#E64279
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2296

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

Preview Lab → · Contrast checker → · Palette generator →

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