#6B2286#6B2286

#6B2286 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.164 H 315.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6B2286
RGBrgb(107, 34, 134)
HSLhsl(284, 60%, 33%)
HSVhsv(284, 75%, 53%)
CMYKcmyk(20.1%, 74.6%, 0%, 47.5%)
CIE-LABlab(29.39, 47.55, -41.07)
CIE-LCHlch(29.39, 62.84, 319.18°)
OKLaboklab(41.24% 0.1163 -0.1157)
OKLCHoklch(41.24% 0.164 315.1)
XYZxyz(10.9378, 5.9915, 23.1299)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2286 #3D8622
analogous
#392286 #6B2286 #86226F
triadic
#6B2286 #866B22 #22866B
tetradic
#6B2286 #863922 #3D8622 #226F86
square
#6B2286 #863922 #3D8622 #226F86
split-complementary
#6B2286 #6F8622 #228639
monochromatic
#1D0924 #441655 #6B2286 #922EB7 #AF50D3

Accessibility & contrast

On white

9.55
#6B2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2286
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2286#FFFFFF#000000##FFFFFF
##6B22861.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#693752
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2286;
/* rgb */ color: rgb(107, 34, 134);
/* oklch */ color: oklch(41.2% 0.164 315.1);
Tailwind
colors: {
  custom: {
    50: '#9965aa',
    500: '#6b2286',
    950: '#000000',
  },
}
SCSS
$custom: #6b2286;
$custom-light: #9965aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2286",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 283.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.16411,
    "h": 315.1
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#6B2286
secondary
#6AB64E
accent
#E34570
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2286

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

Preview Lab → · Contrast checker → · Palette generator →

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