#6D2E97#6D2E97

#6D2E97 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.167 H 308.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6D2E97
RGBrgb(109, 46, 151)
HSLhsl(276, 53%, 39%)
HSVhsv(276, 70%, 59%)
CMYKcmyk(27.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(32.79, 46.45, -46.07)
CIE-LCHlch(32.79, 65.42, 315.24°)
OKLaboklab(44.1% 0.1039 -0.1304)
OKLCHoklch(44.1% 0.167 308.6)
XYZxyz(12.8684, 7.4398, 30.0303)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2E97 #58972E
analogous
#382E97 #6D2E97 #972E8C
triadic
#6D2E97 #976D2E #2E976D
tetradic
#6D2E97 #97382E #58972E #2E8C97
square
#6D2E97 #97382E #58972E #2E8C97
split-complementary
#6D2E97 #8C972E #2E9738
monochromatic
#291139 #4B2068 #6D2E97 #8F3EC4 #AA6DD2

Accessibility & contrast

On white

8.44
#6D2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6D2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2E97
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2E97#FFFFFF#000000##FFFFFF
##6D2E971.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#67455F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2e97;
/* rgb */ color: rgb(109, 46, 151);
/* oklch */ color: oklch(44.1% 0.167 308.6);
Tailwind
colors: {
  custom: {
    50: '#9b6cb6',
    500: '#6d2e97',
    950: '#000000',
  },
}
SCSS
$custom: #6d2e97;
$custom-light: #9b6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2e97",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 276,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44101,
    "c": 0.16677,
    "h": 308.6
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#6D2E97
secondary
#88BA67
accent
#DD4B85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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