#6A2E95#6A2E95

#6A2E95 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.164 H 307.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6A2E95
RGBrgb(106, 46, 149)
HSLhsl(275, 53%, 38%)
HSVhsv(275, 69%, 58%)
CMYKcmyk(28.9%, 69.1%, 0%, 41.6%)
CIE-LABlab(32.23, 45.31, -45.77)
CIE-LCHlch(32.23, 64.40, 314.72°)
OKLaboklab(43.57% 0.1 -0.1296)
OKLCHoklch(43.57% 0.164 307.7)
XYZxyz(12.3445, 7.1883, 29.1651)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2E95 #59952E
analogous
#362E95 #6A2E95 #952E8D
triadic
#6A2E95 #956A2E #2E956A
tetradic
#6A2E95 #95362E #59952E #2E8D95
square
#6A2E95 #95362E #59952E #2E8D95
split-complementary
#6A2E95 #8D952E #2E9536
monochromatic
#271137 #492066 #6A2E95 #8B3DC3 #A76CD2

Accessibility & contrast

On white

8.62
#6A2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6A2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2E95
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2E95#FFFFFF#000000##FFFFFF
##6A2E951.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#164C93
Tritanopia (blue-blind)
#63445E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a2e95;
/* rgb */ color: rgb(106, 46, 149);
/* oklch */ color: oklch(43.6% 0.164 307.7);
Tailwind
colors: {
  custom: {
    50: '#986bb5',
    500: '#6a2e95',
    950: '#000000',
  },
}
SCSS
$custom: #6a2e95;
$custom-light: #986bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2e95",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 274.951,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.16373,
    "h": 307.7
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#6A2E95
secondary
#89B966
accent
#DC4C88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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