#6D2E95#6D2E95

#6D2E95 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.165 H 309.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6D2E95
RGBrgb(109, 46, 149)
HSLhsl(277, 53%, 38%)
HSVhsv(277, 69%, 58%)
CMYKcmyk(26.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(32.65, 45.98, -45.07)
CIE-LCHlch(32.65, 64.39, 315.57°)
OKLaboklab(43.96% 0.1042 -0.1275)
OKLCHoklch(43.96% 0.165 309.2)
XYZxyz(12.7074, 7.3754, 29.1821)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2E95 #56952E
analogous
#392E95 #6D2E95 #952E89
triadic
#6D2E95 #956D2E #2E956D
tetradic
#6D2E95 #95392E #56952E #2E8995
square
#6D2E95 #95392E #56952E #2E8995
split-complementary
#6D2E95 #89952E #2E9539
monochromatic
#291137 #4B2066 #6D2E95 #8F3DC3 #AA6CD2

Accessibility & contrast

On white

8.48
#6D2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6D2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2E95
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2E95#FFFFFF#000000##FFFFFF
##6D2E951.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#67445E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2e95;
/* rgb */ color: rgb(109, 46, 149);
/* oklch */ color: oklch(44.0% 0.165 309.2);
Tailwind
colors: {
  custom: {
    50: '#9b6cb5',
    500: '#6d2e95',
    950: '#000000',
  },
}
SCSS
$custom: #6d2e95;
$custom-light: #9b6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2e95",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 276.699,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.16463,
    "h": 309.2
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#6D2E95
secondary
#86B966
accent
#DC4C84
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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