#6A3FB9#6A3FB9

#6A3FB9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.182 H 294.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6A3FB9
RGBrgb(106, 63, 185)
HSLhsl(261, 49%, 49%)
HSVhsv(261, 66%, 73%)
CMYKcmyk(42.7%, 65.9%, 0%, 27.5%)
CIE-LABlab(38.06, 45.77, -57.92)
CIE-LCHlch(38.06, 73.82, 308.32°)
OKLaboklab(48.59% 0.0768 -0.1654)
OKLCHoklch(48.59% 0.182 294.9)
XYZxyz(16.4760, 10.1216, 46.9751)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FB9 #8EB93F
analogous
#3F51B9 #6A3FB9 #A73FB9
triadic
#6A3FB9 #B96A3F #3FB96A
tetradic
#6A3FB9 #B93F51 #8EB93F #3FB9A7
square
#6A3FB9 #B93F51 #8EB93F #3FB9A7
split-complementary
#6A3FB9 #B9A73F #51B93F
monochromatic
#36205E #502F8B #6A3FB9 #8C69CC #AF97DC

Accessibility & contrast

On white

6.94
#6A3FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6A3FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FB9
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FB9#FFFFFF#000000##FFFFFF
##6A3FB91.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#555C76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3fb9;
/* rgb */ color: rgb(106, 63, 185);
/* oklch */ color: oklch(48.6% 0.182 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b77cf',
    500: '#6a3fb9',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fb9;
$custom-light: #9b77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fb9",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 261.148,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.18237,
    "h": 294.9
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#6A3FB9
secondary
#B3C78D
accent
#D94FA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A3FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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