#6C2FB2#6C2FB2

#6C2FB2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.194 H 299.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6C2FB2
RGBrgb(108, 47, 178)
HSLhsl(268, 58%, 44%)
HSVhsv(268, 74%, 70%)
CMYKcmyk(39.3%, 73.6%, 0%, 30.2%)
CIE-LABlab(34.87, 52.32, -58.95)
CIE-LCHlch(34.87, 78.82, 311.59°)
OKLaboklab(46.2% 0.097 -0.1683)
OKLCHoklch(46.2% 0.194 299.9)
XYZxyz(15.2347, 8.4354, 42.9364)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FB2 #75B22F
analogous
#2F34B2 #6C2FB2 #AE2FB2
triadic
#6C2FB2 #B26C2F #2FB26C
tetradic
#6C2FB2 #B22F34 #75B22F #2FB2AE
square
#6C2FB2 #B22F34 #75B22F #2FB2AE
split-complementary
#6C2FB2 #B2AE2F #34B22F
monochromatic
#311551 #4F2282 #6C2FB2 #8B4ED0 #AA7EDD

Accessibility & contrast

On white

7.81
#6C2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6C2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FB2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FB2#FFFFFF#000000##FFFFFF
##6C2FB21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5C506E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c2fb2;
/* rgb */ color: rgb(108, 47, 178);
/* oklch */ color: oklch(46.2% 0.194 299.9);
Tailwind
colors: {
  custom: {
    50: '#9c6dca',
    500: '#6c2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c2fb2;
$custom-light: #9c6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2fb2",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 267.939,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.462,
    "c": 0.19425,
    "h": 299.9
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#6C2FB2
secondary
#A1C677
accent
#E14699
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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