#6A2F85#6A2F85

#6A2F85 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 313.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6A2F85
RGBrgb(106, 47, 133)
HSLhsl(281, 48%, 35%)
HSVhsv(281, 65%, 52%)
CMYKcmyk(20.3%, 64.7%, 0%, 47.8%)
CIE-LABlab(31.33, 41.09, -37.35)
CIE-LCHlch(31.33, 55.53, 317.73°)
OKLaboklab(42.57% 0.0999 -0.105)
OKLCHoklch(42.57% 0.145 313.6)
XYZxyz(11.1933, 6.7910, 22.9069)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2F85 #4A852F
analogous
#3F2F85 #6A2F85 #852F75
triadic
#6A2F85 #856A2F #2F856A
tetradic
#6A2F85 #853F2F #4A852F #2F7585
square
#6A2F85 #853F2F #4A852F #2F7585
split-complementary
#6A2F85 #75852F #2F853F
monochromatic
#220F2B #461F58 #6A2F85 #8E3FB2 #AA66C9

Accessibility & contrast

On white

8.91
#6A2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6A2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2F85
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2F85#FFFFFF#000000##FFFFFF
##6A2F851.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4788
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#673F55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a2f85;
/* rgb */ color: rgb(106, 47, 133);
/* oklch */ color: oklch(42.6% 0.145 313.6);
Tailwind
colors: {
  custom: {
    50: '#976ba9',
    500: '#6a2f85',
    950: '#000000',
  },
}
SCSS
$custom: #6a2f85;
$custom-light: #976ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2f85",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 281.163,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.14488,
    "h": 313.6
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#6A2F85
secondary
#79B060
accent
#D7507B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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