#6D2F95#6D2F95

#6D2F95 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.163 H 309.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6D2F95
RGBrgb(109, 47, 149)
HSLhsl(276, 52%, 38%)
HSVhsv(276, 68%, 58%)
CMYKcmyk(26.8%, 68.5%, 0%, 41.6%)
CIE-LABlab(32.82, 45.50, -44.80)
CIE-LCHlch(32.82, 63.85, 315.45°)
OKLaboklab(44.08% 0.103 -0.1267)
OKLCHoklch(44.08% 0.163 309.1)
XYZxyz(12.7469, 7.4544, 29.1953)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2F95 #57952F
analogous
#3A2F95 #6D2F95 #952F8A
triadic
#6D2F95 #956D2F #2F956D
tetradic
#6D2F95 #953A2F #57952F #2F8A95
square
#6D2F95 #953A2F #57952F #2F8A95
split-complementary
#6D2F95 #8A952F #2F953A
monochromatic
#291238 #4B2066 #6D2F95 #8F3FC2 #AA6DD1

Accessibility & contrast

On white

8.43
#6D2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2F95
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2F95#FFFFFF#000000##FFFFFF
##6D2F951.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2f95;
/* rgb */ color: rgb(109, 47, 149);
/* oklch */ color: oklch(44.1% 0.163 309.1);
Tailwind
colors: {
  custom: {
    50: '#9a6cb5',
    500: '#6d2f95',
    950: '#000000',
  },
}
SCSS
$custom: #6d2f95;
$custom-light: #9a6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2f95",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 276.471,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.16328,
    "h": 309.1
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#6D2F95
secondary
#87B867
accent
#DB4C84
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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