#6A3FDC#6A3FDC

#6A3FDC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.223 H 288.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6A3FDC
RGBrgb(106, 63, 220)
HSLhsl(256, 69%, 55%)
HSVhsv(256, 71%, 86%)
CMYKcmyk(51.8%, 71.4%, 0%, 13.7%)
CIE-LABlab(40.87, 55.37, -73.63)
CIE-LCHlch(40.87, 92.13, 306.94°)
OKLaboklab(51.48% 0.0709 -0.2116)
OKLCHoklch(51.48% 0.223 288.5)
XYZxyz(20.6359, 11.7855, 68.8838)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FDC #B1DC3F
analogous
#3F62DC #6A3FDC #B83FDC
triadic
#6A3FDC #DC6A3F #3FDC6A
tetradic
#6A3FDC #DC3F62 #B1DC3F #3FDCB8
square
#6A3FDC #DC3F62 #B1DC3F #3FDCB8
split-complementary
#6A3FDC #DCB83F #62DC3F
monochromatic
#371988 #4C22BC #6A3FDC #9273E5 #BAA7EF

Accessibility & contrast

On white

6.26
#6A3FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6A3FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FDC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FDC#FFFFFF#000000##FFFFFF
##6A3FDC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#3F698A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a3fdc;
/* rgb */ color: rgb(106, 63, 220);
/* oklch */ color: oklch(51.5% 0.223 288.5);
Tailwind
colors: {
  custom: {
    50: '#9f78e8',
    500: '#6a3fdc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fdc;
$custom-light: #9f78e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fdc",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 220
  },
  "hsl": {
    "h": 256.433,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.22314,
    "h": 288.5
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#6A3FDC
secondary
#CADC9B
accent
#EC3CBC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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