#6A3FB5#6A3FB5

#6A3FB5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.178 H 295.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6A3FB5
RGBrgb(106, 63, 181)
HSLhsl(262, 48%, 48%)
HSVhsv(262, 65%, 71%)
CMYKcmyk(41.4%, 65.2%, 0%, 29%)
CIE-LABlab(37.76, 44.69, -56.04)
CIE-LCHlch(37.76, 71.68, 308.57°)
OKLaboklab(48.28% 0.0772 -0.1599)
OKLCHoklch(48.28% 0.178 295.8)
XYZxyz(16.0597, 9.9550, 44.7825)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FB5 #8AB53F
analogous
#3F4FB5 #6A3FB5 #A53FB5
triadic
#6A3FB5 #B56A3F #3FB56A
tetradic
#6A3FB5 #B53F4F #8AB53F #3FB5A5
square
#6A3FB5 #B53F4F #8AB53F #3FB5A5
split-complementary
#6A3FB5 #B5A53F #4FB53F
monochromatic
#351F5A #4F2F88 #6A3FB5 #8B67CA #AE94DA

Accessibility & contrast

On white

7.02
#6A3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6A3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3FB5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FB5#FFFFFF#000000##FFFFFF
##6A3FB51.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#575A74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3fb5;
/* rgb */ color: rgb(106, 63, 181);
/* oklch */ color: oklch(48.3% 0.178 295.8);
Tailwind
colors: {
  custom: {
    50: '#9a77cc',
    500: '#6a3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fb5;
$custom-light: #9a77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fb5",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 261.864,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.17757,
    "h": 295.8
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#6A3FB5
secondary
#B0C58A
accent
#D850A6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6A3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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