#6B2287#6B2287

#6B2287 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.165 H 314.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6B2287
RGBrgb(107, 34, 135)
HSLhsl(283, 60%, 33%)
HSVhsv(283, 75%, 53%)
CMYKcmyk(20.7%, 74.8%, 0%, 47.1%)
CIE-LABlab(29.46, 47.77, -41.58)
CIE-LCHlch(29.46, 63.33, 318.96°)
OKLaboklab(41.31% 0.1162 -0.1172)
OKLCHoklch(41.31% 0.165 314.7)
XYZxyz(11.0079, 6.0195, 23.4990)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2287 #3E8722
analogous
#382287 #6B2287 #872270
triadic
#6B2287 #876B22 #22876B
tetradic
#6B2287 #873822 #3E8722 #227087
square
#6B2287 #873822 #3E8722 #227087
split-complementary
#6B2287 #708722 #228738
monochromatic
#1E0925 #441656 #6B2287 #922EB8 #AF50D3

Accessibility & contrast

On white

9.53
#6B2287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2287
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2287#FFFFFF#000000##FFFFFF
##6B22871.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#693852
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2287;
/* rgb */ color: rgb(107, 34, 135);
/* oklch */ color: oklch(41.3% 0.165 314.7);
Tailwind
colors: {
  custom: {
    50: '#9965ab',
    500: '#6b2287',
    950: '#000000',
  },
}
SCSS
$custom: #6b2287;
$custom-light: #9965ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2287",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 283.366,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.16508,
    "h": 314.7
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#6B2287
secondary
#6BB74E
accent
#E34571
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2287

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

Preview Lab → · Contrast checker → · Palette generator →

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