#6A2287#6A2287

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

Color values

HEX#6A2287
RGBrgb(106, 34, 135)
HSLhsl(283, 60%, 33%)
HSVhsv(283, 75%, 53%)
CMYKcmyk(21.5%, 74.8%, 0%, 47.1%)
CIE-LABlab(29.31, 47.55, -41.84)
CIE-LCHlch(29.31, 63.34, 318.65°)
OKLaboklab(41.17% 0.1149 -0.118)
OKLCHoklch(41.17% 0.165 314.2)
XYZxyz(10.8883, 5.9579, 23.4934)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2287 #3F8722
analogous
#372287 #6A2287 #872271
triadic
#6A2287 #876A22 #22876A
tetradic
#6A2287 #873722 #3F8722 #227187
square
#6A2287 #873722 #3F8722 #227187
split-complementary
#6A2287 #718722 #228737
monochromatic
#1D0925 #441656 #6A2287 #902EB8 #AE50D3

Accessibility & contrast

On white

9.58
#6A2287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A2287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2287
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2287#FFFFFF#000000##FFFFFF
##6A22871.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2287;
/* rgb */ color: rgb(106, 34, 135);
/* oklch */ color: oklch(41.2% 0.165 314.2);
Tailwind
colors: {
  custom: {
    50: '#9865ab',
    500: '#6a2287',
    950: '#000000',
  },
}
SCSS
$custom: #6a2287;
$custom-light: #9865ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2287",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 282.772,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41165,
    "c": 0.16471,
    "h": 314.2
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#6A2287
secondary
#6CB74E
accent
#E34572
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A2287

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

Preview Lab → · Contrast checker → · Palette generator →

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