#6C2FAF#6C2FAF

#6C2FAF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.191 H 300.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6C2FAF
RGBrgb(108, 47, 175)
HSLhsl(269, 58%, 44%)
HSVhsv(269, 73%, 69%)
CMYKcmyk(38.3%, 73.1%, 0%, 31.4%)
CIE-LABlab(34.63, 51.58, -57.56)
CIE-LCHlch(34.63, 77.28, 311.86°)
OKLaboklab(45.96% 0.0976 -0.1642)
OKLCHoklch(45.96% 0.191 300.7)
XYZxyz(14.9368, 8.3162, 41.3674)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FAF #72AF2F
analogous
#2F32AF #6C2FAF #AC2FAF
triadic
#6C2FAF #AF6C2F #2FAF6C
tetradic
#6C2FAF #AF2F32 #72AF2F #2FAFAC
square
#6C2FAF #AF2F32 #72AF2F #2FAFAC
split-complementary
#6C2FAF #AFAC2F #32AF2F
monochromatic
#30154F #4E227F #6C2FAF #8B4CCF #AA7CDC

Accessibility & contrast

On white

7.89
#6C2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6C2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FAF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FAF#FFFFFF#000000##FFFFFF
##6C2FAF1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#5D4F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2faf;
/* rgb */ color: rgb(108, 47, 175);
/* oklch */ color: oklch(46.0% 0.191 300.7);
Tailwind
colors: {
  custom: {
    50: '#9c6dc8',
    500: '#6c2faf',
    950: '#000000',
  },
}
SCSS
$custom: #6c2faf;
$custom-light: #9c6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2faf",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 268.594,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.19104,
    "h": 300.7
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#6C2FAF
secondary
#9FC475
accent
#E14798
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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