#6D2F96#6D2F96

#6D2F96 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.164 H 308.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6D2F96
RGBrgb(109, 47, 150)
HSLhsl(276, 52%, 39%)
HSVhsv(276, 69%, 59%)
CMYKcmyk(27.3%, 68.7%, 0%, 41.2%)
CIE-LABlab(32.89, 45.74, -45.29)
CIE-LCHlch(32.89, 64.37, 315.28°)
OKLaboklab(44.15% 0.1029 -0.1281)
OKLCHoklch(44.15% 0.164 308.8)
XYZxyz(12.8271, 7.4865, 29.6176)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2F96 #58962F
analogous
#3A2F96 #6D2F96 #962F8B
triadic
#6D2F96 #966D2F #2F966D
tetradic
#6D2F96 #963A2F #58962F #2F8B96
square
#6D2F96 #963A2F #58962F #2F8B96
split-complementary
#6D2F96 #8B962F #2F963A
monochromatic
#291239 #4B2067 #6D2F96 #8F3FC3 #AA6ED2

Accessibility & contrast

On white

8.41
#6D2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6D2F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2F96
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2F96#FFFFFF#000000##FFFFFF
##6D2F961.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#67455E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2f96;
/* rgb */ color: rgb(109, 47, 150);
/* oklch */ color: oklch(44.2% 0.164 308.8);
Tailwind
colors: {
  custom: {
    50: '#9b6cb5',
    500: '#6d2f96',
    950: '#000000',
  },
}
SCSS
$custom: #6d2f96;
$custom-light: #9b6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2f96",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 276.117,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.16435,
    "h": 308.8
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#6D2F96
secondary
#88B968
accent
#DC4C85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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