#6A2BC4#6A2BC4

#6A2BC4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.217 H 295.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6A2BC4
RGBrgb(106, 43, 196)
HSLhsl(265, 64%, 47%)
HSVhsv(265, 78%, 77%)
CMYKcmyk(45.9%, 78.1%, 0%, 23.1%)
CIE-LABlab(35.55, 58.23, -68.47)
CIE-LCHlch(35.55, 89.88, 310.38°)
OKLaboklab(47.09% 0.0928 -0.1963)
OKLCHoklch(47.09% 0.217 295.3)
XYZxyz(16.7688, 8.7770, 53.0245)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BC4 #85C42B
analogous
#2B38C4 #6A2BC4 #B72BC4
triadic
#6A2BC4 #C46A2B #2BC46A
tetradic
#6A2BC4 #C42B38 #85C42B #2BC4B7
square
#6A2BC4 #C42B38 #85C42B #2BC4B7
split-complementary
#6A2BC4 #C4B72B #38C42B
monochromatic
#341560 #4F2092 #6A2BC4 #8A53D9 #AC85E4

Accessibility & contrast

On white

7.62
#6A2BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2BC4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BC4#FFFFFF#000000##FFFFFF
##6A2BC41.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#505677
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a2bc4;
/* rgb */ color: rgb(106, 43, 196);
/* oklch */ color: oklch(47.1% 0.217 295.3);
Tailwind
colors: {
  custom: {
    50: '#9d6cd7',
    500: '#6a2bc4',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bc4;
$custom-light: #9d6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bc4",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 264.706,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.21714,
    "h": 295.3
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#6A2BC4
secondary
#ACCE7D
accent
#E741A3
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6A2BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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