#6C2EB9#6C2EB9

#6C2EB9 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.203 H 298.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6C2EB9
RGBrgb(108, 46, 185)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 73%)
CMYKcmyk(41.6%, 75.1%, 0%, 27.5%)
CIE-LABlab(35.29, 54.51, -62.42)
CIE-LCHlch(35.29, 82.87, 311.13°)
OKLaboklab(46.67% 0.0963 -0.1785)
OKLCHoklch(46.67% 0.203 298.3)
XYZxyz(15.9160, 8.6447, 46.7196)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2EB9 #7BB92E
analogous
#2E35B9 #6C2EB9 #B22EB9
triadic
#6C2EB9 #B96C2E #2EB96C
tetradic
#6C2EB9 #B92E35 #7BB92E #2EB9B2
square
#6C2EB9 #B92E35 #7BB92E #2EB9B2
split-complementary
#6C2EB9 #B9B22E #35B92E
monochromatic
#331657 #4F2288 #6C2EB9 #8B51D4 #AC82E0

Accessibility & contrast

On white

7.70
#6C2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6C2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2EB9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2EB9#FFFFFF#000000##FFFFFF
##6C2EB91.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#595272
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c2eb9;
/* rgb */ color: rgb(108, 46, 185);
/* oklch */ color: oklch(46.7% 0.203 298.3);
Tailwind
colors: {
  custom: {
    50: '#9d6dcf',
    500: '#6c2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #6c2eb9;
$custom-light: #9d6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2eb9",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 266.763,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.20281,
    "h": 298.3
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#6C2EB9
secondary
#A6C97A
accent
#E3449C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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