#6A2286#6A2286

#6A2286 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 314.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6A2286
RGBrgb(106, 34, 134)
HSLhsl(283, 60%, 33%)
HSVhsv(283, 75%, 53%)
CMYKcmyk(20.9%, 74.6%, 0%, 47.5%)
CIE-LABlab(29.23, 47.34, -41.33)
CIE-LCHlch(29.23, 62.84, 318.87°)
OKLaboklab(41.09% 0.115 -0.1165)
OKLCHoklch(41.09% 0.164 314.6)
XYZxyz(10.8182, 5.9298, 23.1243)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2286 #3E8622
analogous
#382286 #6A2286 #862270
triadic
#6A2286 #866A22 #22866A
tetradic
#6A2286 #863822 #3E8622 #227086
square
#6A2286 #863822 #3E8622 #227086
split-complementary
#6A2286 #708622 #228638
monochromatic
#1D0924 #431655 #6A2286 #912EB7 #AE50D3

Accessibility & contrast

On white

9.61
#6A2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2286
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2286#FFFFFF#000000##FFFFFF
##6A22861.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2286;
/* rgb */ color: rgb(106, 34, 134);
/* oklch */ color: oklch(41.1% 0.164 314.6);
Tailwind
colors: {
  custom: {
    50: '#9865aa',
    500: '#6a2286',
    950: '#000000',
  },
}
SCSS
$custom: #6a2286;
$custom-light: #9865aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2286",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 283.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.16373,
    "h": 314.6
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A2286

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

Preview Lab → · Contrast checker → · Palette generator →

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