#6A3EB7#6A3EB7

#6A3EB7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.181 H 295.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6A3EB7
RGBrgb(106, 62, 183)
HSLhsl(262, 49%, 48%)
HSVhsv(262, 66%, 72%)
CMYKcmyk(42.1%, 66.1%, 0%, 28.2%)
CIE-LABlab(37.71, 45.77, -57.30)
CIE-LCHlch(37.71, 73.34, 308.61°)
OKLaboklab(48.29% 0.0781 -0.1636)
OKLCHoklch(48.29% 0.181 295.5)
XYZxyz(16.2115, 9.9280, 45.8527)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EB7 #8BB73E
analogous
#3E4EB7 #6A3EB7 #A63EB7
triadic
#6A3EB7 #B76A3E #3EB76A
tetradic
#6A3EB7 #B73E4E #8BB73E #3EB7A6
square
#6A3EB7 #B73E4E #8BB73E #3EB7A6
split-complementary
#6A3EB7 #B7A63E #4EB73E
monochromatic
#351F5C #502F89 #6A3EB7 #8B67CB #AE94DB

Accessibility & contrast

On white

7.03
#6A3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3EB7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EB7#FFFFFF#000000##FFFFFF
##6A3EB71.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.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: #6a3eb7;
/* rgb */ color: rgb(106, 62, 183);
/* oklch */ color: oklch(48.3% 0.181 295.5);
Tailwind
colors: {
  custom: {
    50: '#9b76cd',
    500: '#6a3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6a3eb7;
$custom-light: #9b76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3eb7",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 261.818,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.18129,
    "h": 295.5
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#6A3EB7
secondary
#B1C68A
accent
#D94FA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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