#6C2094#6C2094

#6C2094 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.180 H 310.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#6C2094
RGBrgb(108, 32, 148)
HSLhsl(279, 64%, 35%)
HSVhsv(279, 78%, 58%)
CMYKcmyk(27%, 78.4%, 0%, 42%)
CIE-LABlab(30.30, 51.57, -48.26)
CIE-LCHlch(30.30, 70.63, 316.90°)
OKLaboklab(42.24% 0.1173 -0.1368)
OKLCHoklch(42.24% 0.18 310.6)
XYZxyz(12.0451, 6.3596, 28.6042)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2094 #489420
analogous
#322094 #6C2094 #942082
triadic
#6C2094 #946C20 #20946C
tetradic
#6C2094 #943220 #489420 #208294
square
#6C2094 #943220 #489420 #208294
split-complementary
#6C2094 #829420 #209432
monochromatic
#230A2F #471562 #6C2094 #912BC6 #AC54DA

Accessibility & contrast

On white

9.24
#6C2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6C2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2094
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2094#FFFFFF#000000##FFFFFF
##6C20941.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004992
Tritanopia (blue-blind)
#663C59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c2094;
/* rgb */ color: rgb(108, 32, 148);
/* oklch */ color: oklch(42.2% 0.180 310.6);
Tailwind
colors: {
  custom: {
    50: '#9b65b4',
    500: '#6c2094',
    950: '#000000',
  },
}
SCSS
$custom: #6c2094;
$custom-light: #9b65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2094",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 279.31,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42237,
    "c": 0.18021,
    "h": 310.6
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#6C2094
secondary
#77BE52
accent
#E7407A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2094

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

Preview Lab → · Contrast checker → · Palette generator →

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