#6F2295#6F2295

#6F2295 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.180 H 311.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6F2295
RGBrgb(111, 34, 149)
HSLhsl(280, 63%, 36%)
HSVhsv(280, 77%, 58%)
CMYKcmyk(25.5%, 77.2%, 0%, 41.6%)
CIE-LABlab(31.10, 51.60, -47.56)
CIE-LCHlch(31.10, 70.18, 317.33°)
OKLaboklab(42.92% 0.1194 -0.1347)
OKLCHoklch(42.92% 0.18 311.6)
XYZxyz(12.5514, 6.6938, 29.0588)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2295 #489522
analogous
#352295 #6F2295 #952281
triadic
#6F2295 #956F22 #22956F
tetradic
#6F2295 #953522 #489522 #228195
square
#6F2295 #953522 #489522 #228195
split-complementary
#6F2295 #819522 #229535
monochromatic
#250B31 #4A1763 #6F2295 #942DC7 #AF58D9

Accessibility & contrast

On white

8.98
#6F2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6F2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2295
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2295#FFFFFF#000000##FFFFFF
##6F22951.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#0C4B93
Tritanopia (blue-blind)
#6A3D5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f2295;
/* rgb */ color: rgb(111, 34, 149);
/* oklch */ color: oklch(42.9% 0.180 311.6);
Tailwind
colors: {
  custom: {
    50: '#9d66b5',
    500: '#6f2295',
    950: '#000000',
  },
}
SCSS
$custom: #6f2295;
$custom-light: #9d66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2295",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 280.174,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.17996,
    "h": 311.6
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#6F2295
secondary
#78BD56
accent
#E64278
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2295

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

Preview Lab → · Contrast checker → · Palette generator →

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