#6F2882#6F2882

#6F2882 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.154 H 318.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6F2882
RGBrgb(111, 40, 130)
HSLhsl(287, 53%, 33%)
HSVhsv(287, 69%, 51%)
CMYKcmyk(14.6%, 69.2%, 0%, 49%)
CIE-LABlab(30.66, 45.04, -36.50)
CIE-LCHlch(30.66, 57.97, 320.98°)
OKLaboklab(42.19% 0.1152 -0.1023)
OKLCHoklch(42.19% 0.154 318.4)
XYZxyz(11.3431, 6.5093, 21.7737)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2882 #3B8228
analogous
#422882 #6F2882 #822868
triadic
#6F2882 #826F28 #28826F
tetradic
#6F2882 #824228 #3B8228 #286882
square
#6F2882 #824228 #3B8228 #286882
split-complementary
#6F2882 #688228 #288242
monochromatic
#1F0B24 #471A53 #6F2882 #9736B1 #B359CC

Accessibility & contrast

On white

9.12
#6F2882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2882
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2882#FFFFFF#000000##FFFFFF
##6F28821.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034485
Deuteranopia (green-blind)
#2D4A80
Tritanopia (blue-blind)
#6F3951
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f2882;
/* rgb */ color: rgb(111, 40, 130);
/* oklch */ color: oklch(42.2% 0.154 318.4);
Tailwind
colors: {
  custom: {
    50: '#9b68a7',
    500: '#6f2882',
    950: '#000000',
  },
}
SCSS
$custom: #6f2882;
$custom-light: #9b68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2882",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 287.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.15408,
    "h": 318.4
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#6F2882
secondary
#68B155
accent
#DC4B6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F2882

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

Preview Lab → · Contrast checker → · Palette generator →

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