#6A3FD2#6A3FD2

#6A3FD2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.212 H 290.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6A3FD2
RGBrgb(106, 63, 210)
HSLhsl(258, 62%, 54%)
HSVhsv(258, 70%, 82%)
CMYKcmyk(49.5%, 70%, 0%, 17.6%)
CIE-LABlab(40.03, 52.62, -69.26)
CIE-LCHlch(40.03, 86.98, 307.22°)
OKLaboklab(50.62% 0.0729 -0.1988)
OKLCHoklch(50.62% 0.212 290.1)
XYZxyz(19.3509, 11.2715, 62.1163)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FD2 #A7D23F
analogous
#3F5DD2 #6A3FD2 #B33FD2
triadic
#6A3FD2 #D26A3F #3FD26A
tetradic
#6A3FD2 #D23F5D #A7D23F #3FD2B3
square
#6A3FD2 #D23F5D #A7D23F #3FD2B3
split-complementary
#6A3FD2 #D2B33F #5DD23F
monochromatic
#381D7A #4F28AC #6A3FD2 #9071DE #B7A2E9

Accessibility & contrast

On white

6.45
#6A3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6A3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FD2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FD2#FFFFFF#000000##FFFFFF
##6A3FD21.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#466584
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a3fd2;
/* rgb */ color: rgb(106, 63, 210);
/* oklch */ color: oklch(50.6% 0.212 290.1);
Tailwind
colors: {
  custom: {
    50: '#9e78e1',
    500: '#6a3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fd2;
$custom-light: #9e78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fd2",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 257.551,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.21169,
    "h": 290.1
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#6A3FD2
secondary
#C3D697
accent
#E543B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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