#6C2E92#6C2E92

#6C2E92 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.161 H 309.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6C2E92
RGBrgb(108, 46, 146)
HSLhsl(277, 52%, 38%)
HSVhsv(277, 68%, 57%)
CMYKcmyk(26%, 68.5%, 0%, 42.7%)
CIE-LABlab(32.30, 45.06, -43.81)
CIE-LCHlch(32.30, 62.84, 315.81°)
OKLaboklab(43.61% 0.1031 -0.1238)
OKLCHoklch(43.61% 0.161 309.8)
XYZxyz(12.3486, 7.2177, 27.9312)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2E92 #54922E
analogous
#3A2E92 #6C2E92 #922E86
triadic
#6C2E92 #926C2E #2E926C
tetradic
#6C2E92 #923A2E #54922E #2E8692
square
#6C2E92 #923A2E #54922E #2E8692
split-complementary
#6C2E92 #86922E #2E923A
monochromatic
#271135 #4A1F63 #6C2E92 #8E3DC1 #A96AD0

Accessibility & contrast

On white

8.59
#6C2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6C2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2E92
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2E92#FFFFFF#000000##FFFFFF
##6C2E921.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#1E4D90
Tritanopia (blue-blind)
#67435C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c2e92;
/* rgb */ color: rgb(108, 46, 146);
/* oklch */ color: oklch(43.6% 0.161 309.8);
Tailwind
colors: {
  custom: {
    50: '#9a6cb3',
    500: '#6c2e92',
    950: '#000000',
  },
}
SCSS
$custom: #6c2e92;
$custom-light: #9a6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2e92",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 277.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43608,
    "c": 0.1611,
    "h": 309.8
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#6C2E92
secondary
#84B765
accent
#DC4C83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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