#6A3BB2#6A3BB2

#6A3BB2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.179 H 297.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6A3BB2
RGBrgb(106, 59, 178)
HSLhsl(264, 50%, 46%)
HSVhsv(264, 67%, 70%)
CMYKcmyk(40.4%, 66.9%, 0%, 30.2%)
CIE-LABlab(36.75, 46.02, -55.90)
CIE-LCHlch(36.75, 72.41, 309.46°)
OKLaboklab(47.49% 0.0819 -0.1595)
OKLCHoklch(47.49% 0.179 297.2)
XYZxyz(15.5416, 9.4062, 43.1076)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BB2 #83B23B
analogous
#3B48B2 #6A3BB2 #A63BB2
triadic
#6A3BB2 #B26A3B #3BB26A
tetradic
#6A3BB2 #B23B48 #83B23B #3BB2A6
square
#6A3BB2 #B23B48 #83B23B #3BB2A6
split-complementary
#6A3BB2 #B2A63B #48B23B
monochromatic
#331D56 #4F2C84 #6A3BB2 #8A60CA #AC8EDA

Accessibility & contrast

On white

7.29
#6A3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6A3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BB2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BB2#FFFFFF#000000##FFFFFF
##6A3BB21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#585771
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3bb2;
/* rgb */ color: rgb(106, 59, 178);
/* oklch */ color: oklch(47.5% 0.179 297.2);
Tailwind
colors: {
  custom: {
    50: '#9a74ca',
    500: '#6a3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bb2;
$custom-light: #9a74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bb2",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 263.697,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.1793,
    "h": 297.2
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#6A3BB2
secondary
#ABC485
accent
#DA4EA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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