#6C2294#6C2294

#6C2294 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.178 H 310.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6C2294
RGBrgb(108, 34, 148)
HSLhsl(279, 63%, 36%)
HSVhsv(279, 77%, 58%)
CMYKcmyk(27%, 77%, 0%, 42%)
CIE-LABlab(30.57, 50.80, -47.83)
CIE-LCHlch(30.57, 69.77, 316.73°)
OKLaboklab(42.43% 0.1155 -0.1355)
OKLCHoklch(42.43% 0.178 310.4)
XYZxyz(12.1006, 6.4706, 28.6227)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2294 #4A9422
analogous
#332294 #6C2294 #942283
triadic
#6C2294 #946C22 #22946C
tetradic
#6C2294 #943322 #4A9422 #228394
square
#6C2294 #943322 #4A9422 #228394
split-complementary
#6C2294 #839422 #229433
monochromatic
#230B30 #481762 #6C2294 #902DC6 #AB58D9

Accessibility & contrast

On white

9.15
#6C2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6C2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2294
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2294#FFFFFF#000000##FFFFFF
##6C22941.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#044992
Tritanopia (blue-blind)
#663D5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2294;
/* rgb */ color: rgb(108, 34, 148);
/* oklch */ color: oklch(42.4% 0.178 310.4);
Tailwind
colors: {
  custom: {
    50: '#9a65b4',
    500: '#6c2294',
    950: '#000000',
  },
}
SCSS
$custom: #6c2294;
$custom-light: #9a65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2294",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 278.947,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.17806,
    "h": 310.4
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#6C2294
secondary
#79BD55
accent
#E6427C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2294

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

Preview Lab → · Contrast checker → · Palette generator →

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