#6C2FBE#6C2FBE

#6C2FBE is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.207 H 297.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6C2FBE
RGBrgb(108, 47, 190)
HSLhsl(266, 60%, 46%)
HSVhsv(266, 75%, 75%)
CMYKcmyk(43.2%, 75.3%, 0%, 25.5%)
CIE-LABlab(35.87, 55.32, -64.42)
CIE-LCHlch(35.87, 84.92, 310.65°)
OKLaboklab(47.21% 0.0942 -0.1844)
OKLCHoklch(47.21% 0.207 297.1)
XYZxyz(16.4927, 8.9386, 49.5616)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FBE #81BE2F
analogous
#2F3ABE #6C2FBE #B42FBE
triadic
#6C2FBE #BE6C2F #2FBE6C
tetradic
#6C2FBE #BE2F3A #81BE2F #2FBEB4
square
#6C2FBE #BE2F3A #81BE2F #2FBEB4
split-complementary
#6C2FBE #BEB42F #3ABE2F
monochromatic
#34175C #50238D #6C2FBE #8C55D5 #AD86E1

Accessibility & contrast

On white

7.53
#6C2FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6C2FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FBE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FBE#FFFFFF#000000##FFFFFF
##6C2FBE1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#565575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c2fbe;
/* rgb */ color: rgb(108, 47, 190);
/* oklch */ color: oklch(47.2% 0.207 297.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ed3',
    500: '#6c2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #6c2fbe;
$custom-light: #9e6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2fbe",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 265.594,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.20705,
    "h": 297.1
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#6C2FBE
secondary
#AACB7E
accent
#E344A0
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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