#6A2FBE#6A2FBE

#6A2FBE is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.207 H 296.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6A2FBE
RGBrgb(106, 47, 190)
HSLhsl(265, 60%, 46%)
HSVhsv(265, 75%, 75%)
CMYKcmyk(44.2%, 75.3%, 0%, 25.5%)
CIE-LABlab(35.62, 55.00, -64.83)
CIE-LCHlch(35.62, 85.02, 310.31°)
OKLaboklab(46.98% 0.0912 -0.1857)
OKLCHoklch(46.98% 0.207 296.2)
XYZxyz(16.2522, 8.8145, 49.5503)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2FBE #83BE2F
analogous
#2F3CBE #6A2FBE #B22FBE
triadic
#6A2FBE #BE6A2F #2FBE6A
tetradic
#6A2FBE #BE2F3C #83BE2F #2FBEB2
square
#6A2FBE #BE2F3C #83BE2F #2FBEB2
split-complementary
#6A2FBE #BEB22F #3CBE2F
monochromatic
#33175C #4F238D #6A2FBE #8A55D5 #AC86E1

Accessibility & contrast

On white

7.60
#6A2FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6A2FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2FBE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2FBE#FFFFFF#000000##FFFFFF
##6A2FBE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2fbe;
/* rgb */ color: rgb(106, 47, 190);
/* oklch */ color: oklch(47.0% 0.207 296.2);
Tailwind
colors: {
  custom: {
    50: '#9c6ed3',
    500: '#6a2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #6a2fbe;
$custom-light: #9c6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2fbe",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 264.755,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.20687,
    "h": 296.2
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#6A2FBE
secondary
#ABCB7E
accent
#E344A2
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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