#6A3DCB#6A3DCB

#6A3DCB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.206 H 291.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6A3DCB
RGBrgb(106, 61, 203)
HSLhsl(259, 58%, 52%)
HSVhsv(259, 70%, 80%)
CMYKcmyk(47.8%, 70%, 0%, 20.4%)
CIE-LABlab(39.09, 51.72, -66.75)
CIE-LCHlch(39.09, 84.44, 307.77°)
OKLaboklab(49.77% 0.076 -0.1914)
OKLCHoklch(49.77% 0.206 291.7)
XYZxyz(18.3891, 10.7128, 57.5872)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DCB #9ECB3D
analogous
#3D57CB #6A3DCB #B13DCB
triadic
#6A3DCB #CB6A3D #3DCB6A
tetradic
#6A3DCB #CB3D57 #9ECB3D #3DCBB1
square
#6A3DCB #CB3D57 #9ECB3D #3DCBB1
split-complementary
#6A3DCB #CBB13D #57CB3D
monochromatic
#381E70 #502BA0 #6A3DCB #8F6DD8 #B49EE5

Accessibility & contrast

On white

6.68
#6A3DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6A3DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3DCB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DCB#FFFFFF#000000##FFFFFF
##6A3DCB1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#4B6180
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3dcb;
/* rgb */ color: rgb(106, 61, 203);
/* oklch */ color: oklch(49.8% 0.206 291.7);
Tailwind
colors: {
  custom: {
    50: '#9d76dc',
    500: '#6a3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dcb;
$custom-light: #9d76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dcb",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 259.014,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.20592,
    "h": 291.7
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#6A3DCB
secondary
#BDD193
accent
#E147B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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