#6A2CB8#6A2CB8

#6A2CB8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.204 H 297.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6A2CB8
RGBrgb(106, 44, 184)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 72%)
CMYKcmyk(42.4%, 76.1%, 0%, 27.8%)
CIE-LABlab(34.65, 54.80, -62.88)
CIE-LCHlch(34.65, 83.41, 311.08°)
OKLaboklab(46.14% 0.0953 -0.1799)
OKLCHoklch(46.14% 0.204 297.9)
XYZxyz(15.4940, 8.3260, 46.1289)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CB8 #7AB82C
analogous
#2C34B8 #6A2CB8 #B02CB8
triadic
#6A2CB8 #B86A2C #2CB86A
tetradic
#6A2CB8 #B82C34 #7AB82C #2CB8B0
square
#6A2CB8 #B82C34 #7AB82C #2CB8B0
split-complementary
#6A2CB8 #B8B02C #34B82C
monochromatic
#311455 #4E2087 #6A2CB8 #894DD4 #AA7EE0

Accessibility & contrast

On white

7.88
#6A2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6A2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CB8
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CB8#FFFFFF#000000##FFFFFF
##6A2CB81.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#565171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2cb8;
/* rgb */ color: rgb(106, 44, 184);
/* oklch */ color: oklch(46.1% 0.204 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c6cce',
    500: '#6a2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cb8;
$custom-light: #9c6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cb8",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 266.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.2036,
    "h": 297.9
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#6A2CB8
secondary
#A5C977
accent
#E5439D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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