#6A2FBC#6A2FBC

#6A2FBC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.205 H 296.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6A2FBC
RGBrgb(106, 47, 188)
HSLhsl(265, 60%, 46%)
HSVhsv(265, 75%, 74%)
CMYKcmyk(43.6%, 75%, 0%, 26.3%)
CIE-LABlab(35.45, 54.49, -63.93)
CIE-LCHlch(35.45, 84.00, 310.44°)
OKLaboklab(46.81% 0.0917 -0.183)
OKLCHoklch(46.81% 0.205 296.6)
XYZxyz(16.0351, 8.7277, 48.4070)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2FBC #81BC2F
analogous
#2F3BBC #6A2FBC #B02FBC
triadic
#6A2FBC #BC6A2F #2FBC6A
tetradic
#6A2FBC #BC2F3B #81BC2F #2FBCB0
square
#6A2FBC #BC2F3B #81BC2F #2FBCB0
split-complementary
#6A2FBC #BCB02F #3BBC2F
monochromatic
#33175A #4E238B #6A2FBC #8A54D4 #AB85E0

Accessibility & contrast

On white

7.65
#6A2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6A2FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2FBC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2FBC#FFFFFF#000000##FFFFFF
##6A2FBC1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#545474
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a2fbc;
/* rgb */ color: rgb(106, 47, 188);
/* oklch */ color: oklch(46.8% 0.205 296.6);
Tailwind
colors: {
  custom: {
    50: '#9c6ed1',
    500: '#6a2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #6a2fbc;
$custom-light: #9c6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2fbc",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 265.106,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46811,
    "c": 0.20473,
    "h": 296.6
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#6A2FBC
secondary
#AACA7D
accent
#E345A1
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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