#6C2EA9#6C2EA9

#6C2EA9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.186 H 302.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6C2EA9
RGBrgb(108, 46, 169)
HSLhsl(270, 57%, 42%)
HSVhsv(270, 73%, 66%)
CMYKcmyk(36.1%, 72.8%, 0%, 33.7%)
CIE-LABlab(34.00, 50.56, -55.00)
CIE-LCHlch(34.00, 74.71, 312.59°)
OKLaboklab(45.36% 0.0998 -0.1567)
OKLCHoklch(45.36% 0.186 302.5)
XYZxyz(14.3211, 8.0067, 38.3194)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2EA9 #6BA92E
analogous
#2F2EA9 #6C2EA9 #A92EA9
triadic
#6C2EA9 #A96C2E #2EA96C
tetradic
#6C2EA9 #A92F2E #6BA92E #2EA9A9
square
#6C2EA9 #A92F2E #6BA92E #2EA9A9
split-complementary
#6C2EA9 #A9A92E #2EA92F
monochromatic
#2F1449 #4D2179 #6C2EA9 #8B47CD #A977DA

Accessibility & contrast

On white

8.07
#6C2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6C2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2EA9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2EA9#FFFFFF#000000##FFFFFF
##6C2EA91.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#5F4C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2ea9;
/* rgb */ color: rgb(108, 46, 169);
/* oklch */ color: oklch(45.4% 0.186 302.5);
Tailwind
colors: {
  custom: {
    50: '#9b6cc3',
    500: '#6c2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ea9;
$custom-light: #9b6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ea9",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 270.244,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.18578,
    "h": 302.5
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#6C2EA9
secondary
#99C271
accent
#E04793
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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