#6C2F91#6C2F91

#6C2F91 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.159 H 310.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6C2F91
RGBrgb(108, 47, 145)
HSLhsl(277, 51%, 38%)
HSVhsv(277, 68%, 57%)
CMYKcmyk(25.5%, 67.6%, 0%, 43.1%)
CIE-LABlab(32.40, 44.34, -43.02)
CIE-LCHlch(32.40, 61.78, 315.86°)
OKLaboklab(43.66% 0.102 -0.1215)
OKLCHoklch(43.66% 0.159 310)
XYZxyz(12.3107, 7.2658, 27.5365)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2F91 #54912F
analogous
#3B2F91 #6C2F91 #912F85
triadic
#6C2F91 #916C2F #2F916C
tetradic
#6C2F91 #913B2F #54912F #2F8591
square
#6C2F91 #913B2F #54912F #2F8591
split-complementary
#6C2F91 #85912F #2F913B
monochromatic
#271135 #4A2063 #6C2F91 #8E3EBF #A96BCF

Accessibility & contrast

On white

8.56
#6C2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6C2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2F91
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2F91#FFFFFF#000000##FFFFFF
##6C2F911.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#214D8F
Tritanopia (blue-blind)
#67435C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c2f91;
/* rgb */ color: rgb(108, 47, 145);
/* oklch */ color: oklch(43.7% 0.159 310.0);
Tailwind
colors: {
  custom: {
    50: '#996cb2',
    500: '#6c2f91',
    950: '#000000',
  },
}
SCSS
$custom: #6c2f91;
$custom-light: #996cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2f91",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 277.347,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.15863,
    "h": 310
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#6C2F91
secondary
#84B665
accent
#DB4D83
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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