#6A2E87#6A2E87

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

Color values

HEX#6A2E87
RGBrgb(106, 46, 135)
HSLhsl(280, 49%, 35%)
HSVhsv(280, 66%, 53%)
CMYKcmyk(21.5%, 65.9%, 0%, 47.1%)
CIE-LABlab(31.27, 42.05, -38.68)
CIE-LCHlch(31.27, 57.14, 317.39°)
OKLaboklab(42.57% 0.1011 -0.1088)
OKLCHoklch(42.57% 0.149 312.9)
XYZxyz(11.2933, 6.7677, 23.6284)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2E87 #4B872E
analogous
#3D2E87 #6A2E87 #872E77
triadic
#6A2E87 #876A2E #2E876A
tetradic
#6A2E87 #873D2E #4B872E #2E7787
square
#6A2E87 #873D2E #4B872E #2E7787
split-complementary
#6A2E87 #77872E #2E873D
monochromatic
#220F2C #461E59 #6A2E87 #8E3EB5 #A965CA

Accessibility & contrast

On white

8.92
#6A2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2E87
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2E87#FFFFFF#000000##FFFFFF
##6A2E871.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04468A
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#673F56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a2e87;
/* rgb */ color: rgb(106, 46, 135);
/* oklch */ color: oklch(42.6% 0.149 312.9);
Tailwind
colors: {
  custom: {
    50: '#986baa',
    500: '#6a2e87',
    950: '#000000',
  },
}
SCSS
$custom: #6a2e87;
$custom-light: #986baa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2e87",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 280.449,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.14854,
    "h": 312.9
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#6A2E87
secondary
#7AB160
accent
#D94F7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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