#6A3FB7#6A3FB7

#6A3FB7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.180 H 295.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6A3FB7
RGBrgb(106, 63, 183)
HSLhsl(262, 49%, 48%)
HSVhsv(262, 66%, 72%)
CMYKcmyk(42.1%, 65.6%, 0%, 28.2%)
CIE-LABlab(37.91, 45.23, -56.98)
CIE-LCHlch(37.91, 72.75, 308.44°)
OKLaboklab(48.44% 0.077 -0.1627)
OKLCHoklch(48.44% 0.18 295.3)
XYZxyz(16.2663, 10.0377, 45.8710)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FB7 #8CB73F
analogous
#3F50B7 #6A3FB7 #A63FB7
triadic
#6A3FB7 #B76A3F #3FB76A
tetradic
#6A3FB7 #B73F50 #8CB73F #3FB7A6
square
#6A3FB7 #B73F50 #8CB73F #3FB7A6
split-complementary
#6A3FB7 #B7A63F #50B73F
monochromatic
#35205C #502F89 #6A3FB7 #8C68CB #AE96DB

Accessibility & contrast

On white

6.98
#6A3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6A3FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FB7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FB7#FFFFFF#000000##FFFFFF
##6A3FB71.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#565B75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3fb7;
/* rgb */ color: rgb(106, 63, 183);
/* oklch */ color: oklch(48.4% 0.180 295.3);
Tailwind
colors: {
  custom: {
    50: '#9a77cd',
    500: '#6a3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fb7;
$custom-light: #9a77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fb7",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 261.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.17998,
    "h": 295.3
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#6A3FB7
secondary
#B1C68B
accent
#D84FA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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