#6A3FCB#6A3FCB

#6A3FCB is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.204 H 291.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6A3FCB
RGBrgb(106, 63, 203)
HSLhsl(258, 57%, 52%)
HSVhsv(258, 69%, 80%)
CMYKcmyk(47.8%, 69%, 0%, 20.4%)
CIE-LABlab(39.46, 50.69, -66.15)
CIE-LCHlch(39.46, 83.34, 307.46°)
OKLaboklab(50.04% 0.0741 -0.1896)
OKLCHoklch(50.04% 0.204 291.3)
XYZxyz(18.4978, 10.9303, 57.6234)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FCB #A0CB3F
analogous
#3F5ACB #6A3FCB #B03FCB
triadic
#6A3FCB #CB6A3F #3FCB6A
tetradic
#6A3FCB #CB3F5A #A0CB3F #3FCBB0
square
#6A3FCB #CB3F5A #A0CB3F #3FCBB0
split-complementary
#6A3FCB #CBB03F #5ACB3F
monochromatic
#381F71 #502CA1 #6A3FCB #8F6FD8 #B59FE5

Accessibility & contrast

On white

6.59
#6A3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6A3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FCB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FCB#FFFFFF#000000##FFFFFF
##6A3FCB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#4B6280
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3fcb;
/* rgb */ color: rgb(106, 63, 203);
/* oklch */ color: oklch(50.0% 0.204 291.3);
Tailwind
colors: {
  custom: {
    50: '#9d77dc',
    500: '#6a3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fcb;
$custom-light: #9d77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fcb",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 258.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.20359,
    "h": 291.3
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#6A3FCB
secondary
#BFD194
accent
#E147B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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