#6C298E#6C298E

#6C298E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.164 H 311.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6C298E
RGBrgb(108, 41, 142)
HSLhsl(280, 55%, 36%)
HSVhsv(280, 71%, 56%)
CMYKcmyk(23.9%, 71.1%, 0%, 44.3%)
CIE-LABlab(31.18, 46.49, -43.15)
CIE-LCHlch(31.18, 63.43, 317.14°)
OKLaboklab(42.72% 0.1092 -0.1219)
OKLCHoklch(42.72% 0.164 311.9)
XYZxyz(11.8589, 6.7273, 26.2597)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C298E #4B8E29
analogous
#39298E #6C298E #8E297D
triadic
#6C298E #8E6C29 #298E6C
tetradic
#6C298E #8E3929 #4B8E29 #297D8E
square
#6C298E #8E3929 #4B8E29 #297D8E
split-complementary
#6C298E #7D8E29 #298E39
monochromatic
#240E2F #481B5F #6C298E #9037BD #AB60D1

Accessibility & contrast

On white

8.95
#6C298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C298E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C298E#FFFFFF#000000##FFFFFF
##6C298E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#683E58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c298e;
/* rgb */ color: rgb(108, 41, 142);
/* oklch */ color: oklch(42.7% 0.164 311.9);
Tailwind
colors: {
  custom: {
    50: '#9a69b0',
    500: '#6c298e',
    950: '#000000',
  },
}
SCSS
$custom: #6c298e;
$custom-light: #9a69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c298e",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 279.802,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.16363,
    "h": 311.9
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#6C298E
secondary
#7BB75C
accent
#DF497C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C298E

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

Preview Lab → · Contrast checker → · Palette generator →

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