#6F2292#6F2292

#6F2292 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.177 H 312.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6F2292
RGBrgb(111, 34, 146)
HSLhsl(281, 62%, 35%)
HSVhsv(281, 77%, 57%)
CMYKcmyk(24%, 76.7%, 0%, 42.7%)
CIE-LABlab(30.88, 50.95, -46.08)
CIE-LCHlch(30.88, 68.70, 317.88°)
OKLaboklab(42.69% 0.1199 -0.1303)
OKLCHoklch(42.69% 0.177 312.6)
XYZxyz(12.3149, 6.5992, 27.8136)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2292 #459222
analogous
#372292 #6F2292 #92227D
triadic
#6F2292 #926F22 #22926F
tetradic
#6F2292 #923722 #459222 #227D92
square
#6F2292 #923722 #459222 #227D92
split-complementary
#6F2292 #7D9222 #229237
monochromatic
#240B2F #491660 #6F2292 #952EC4 #AF57D8

Accessibility & contrast

On white

9.05
#6F2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6F2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2292
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2292#FFFFFF#000000##FFFFFF
##6F22921.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#134A90
Tritanopia (blue-blind)
#6B3C59
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f2292;
/* rgb */ color: rgb(111, 34, 146);
/* oklch */ color: oklch(42.7% 0.177 312.6);
Tailwind
colors: {
  custom: {
    50: '#9c66b3',
    500: '#6f2292',
    950: '#000000',
  },
}
SCSS
$custom: #6f2292;
$custom-light: #9c66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2292",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 281.25,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.17709,
    "h": 312.6
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#6F2292
secondary
#74BC54
accent
#E54375
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2292

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

Preview Lab → · Contrast checker → · Palette generator →

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