#6C2296#6C2296

#6C2296 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 309.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#6C2296
RGBrgb(108, 34, 150)
HSLhsl(278, 63%, 36%)
HSVhsv(278, 77%, 59%)
CMYKcmyk(28%, 77.3%, 0%, 41.2%)
CIE-LABlab(30.72, 51.24, -48.81)
CIE-LCHlch(30.72, 70.77, 316.40°)
OKLaboklab(42.58% 0.1151 -0.1384)
OKLCHoklch(42.58% 0.18 309.7)
XYZxyz(12.2603, 6.5345, 29.4637)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2296 #4C9622
analogous
#322296 #6C2296 #962286
triadic
#6C2296 #966C22 #22966C
tetradic
#6C2296 #963222 #4C9622 #228696
square
#6C2296 #963222 #4C9622 #228696
split-complementary
#6C2296 #869622 #229632
monochromatic
#240B32 #481764 #6C2296 #902DC8 #AB59D9

Accessibility & contrast

On white

9.10
#6C2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6C2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2296
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2296#FFFFFF#000000##FFFFFF
##6C22961.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#663E5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2296;
/* rgb */ color: rgb(108, 34, 150);
/* oklch */ color: oklch(42.6% 0.180 309.7);
Tailwind
colors: {
  custom: {
    50: '#9b66b6',
    500: '#6c2296',
    950: '#000000',
  },
}
SCSS
$custom: #6c2296;
$custom-light: #9b66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2296",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 278.276,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.18,
    "h": 309.7
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#6C2296
secondary
#7CBE56
accent
#E6427D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2296

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

Preview Lab → · Contrast checker → · Palette generator →

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