#6A3FB2#6A3FB2

#6A3FB2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.174 H 296.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6A3FB2
RGBrgb(106, 63, 178)
HSLhsl(262, 48%, 47%)
HSVhsv(262, 65%, 70%)
CMYKcmyk(40.4%, 64.6%, 0%, 30.2%)
CIE-LABlab(37.54, 43.88, -54.63)
CIE-LCHlch(37.54, 70.07, 308.77°)
OKLaboklab(48.05% 0.0775 -0.1557)
OKLCHoklch(48.05% 0.174 296.5)
XYZxyz(15.7552, 9.8332, 43.1788)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FB2 #87B23F
analogous
#3F4DB2 #6A3FB2 #A43FB2
triadic
#6A3FB2 #B26A3F #3FB26A
tetradic
#6A3FB2 #B23F4D #87B23F #3FB2A4
square
#6A3FB2 #B23F4D #87B23F #3FB2A4
split-complementary
#6A3FB2 #B2A43F #4DB23F
monochromatic
#341F58 #4F2F85 #6A3FB2 #8B66C9 #AD93D9

Accessibility & contrast

On white

7.08
#6A3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6A3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3FB2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FB2#FFFFFF#000000##FFFFFF
##6A3FB21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#585973
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3fb2;
/* rgb */ color: rgb(106, 63, 178);
/* oklch */ color: oklch(48.1% 0.174 296.5);
Tailwind
colors: {
  custom: {
    50: '#9a76ca',
    500: '#6a3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fb2;
$custom-light: #9a76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fb2",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 262.435,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.17397,
    "h": 296.5
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#6A3FB2
secondary
#AEC489
accent
#D750A5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6A3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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