#6A3FDB#6A3FDB

#6A3FDB is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.222 H 288.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6A3FDB
RGBrgb(106, 63, 219)
HSLhsl(257, 68%, 55%)
HSVhsv(257, 71%, 86%)
CMYKcmyk(51.6%, 71.2%, 0%, 14.1%)
CIE-LABlab(40.79, 55.10, -73.20)
CIE-LCHlch(40.79, 91.62, 306.97°)
OKLaboklab(51.39% 0.0711 -0.2103)
OKLCHoklch(51.39% 0.222 288.7)
XYZxyz(20.5038, 11.7327, 68.1884)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FDB #B0DB3F
analogous
#3F62DB #6A3FDB #B83FDB
triadic
#6A3FDB #DB6A3F #3FDB6A
tetradic
#6A3FDB #DB3F62 #B0DB3F #3FDBB8
square
#6A3FDB #DB3F62 #B0DB3F #3FDBB8
split-complementary
#6A3FDB #DBB83F #62DB3F
monochromatic
#371986 #4D23BA #6A3FDB #9273E5 #BAA6EE

Accessibility & contrast

On white

6.27
#6A3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6A3FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FDB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FDB#FFFFFF#000000##FFFFFF
##6A3FDB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#406889
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a3fdb;
/* rgb */ color: rgb(106, 63, 219);
/* oklch */ color: oklch(51.4% 0.222 288.7);
Tailwind
colors: {
  custom: {
    50: '#9f78e7',
    500: '#6a3fdb',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fdb;
$custom-light: #9f78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fdb",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 256.538,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.222,
    "h": 288.7
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#6A3FDB
secondary
#CADC9A
accent
#EB3DBB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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