#6A2291#6A2291

#6A2291 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.175 H 310.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6A2291
RGBrgb(106, 34, 145)
HSLhsl(279, 62%, 35%)
HSVhsv(279, 77%, 57%)
CMYKcmyk(26.9%, 76.6%, 0%, 43.1%)
CIE-LABlab(30.04, 49.74, -46.85)
CIE-LCHlch(30.04, 68.33, 316.71°)
OKLaboklab(41.92% 0.1133 -0.1327)
OKLCHoklch(41.92% 0.175 310.5)
XYZxyz(11.6257, 6.2528, 27.3771)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2291 #499122
analogous
#332291 #6A2291 #912280
triadic
#6A2291 #916A22 #22916A
tetradic
#6A2291 #913322 #499122 #228091
square
#6A2291 #913322 #499122 #228091
split-complementary
#6A2291 #809122 #229133
monochromatic
#220B2E #46165F #6A2291 #8E2EC3 #AA56D7

Accessibility & contrast

On white

9.33
#6A2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6A2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2291
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2291#FFFFFF#000000##FFFFFF
##6A22911.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#07488F
Tritanopia (blue-blind)
#653C58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2291;
/* rgb */ color: rgb(106, 34, 145);
/* oklch */ color: oklch(41.9% 0.175 310.5);
Tailwind
colors: {
  custom: {
    50: '#9965b2',
    500: '#6a2291',
    950: '#000000',
  },
}
SCSS
$custom: #6a2291;
$custom-light: #9965b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2291",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 278.919,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.17451,
    "h": 310.5
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#6A2291
secondary
#78BB53
accent
#E5437C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2291

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

Preview Lab → · Contrast checker → · Palette generator →

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