#6A4FBC#6A4FBC

#6A4FBC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.164 H 290.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6A4FBC
RGBrgb(106, 79, 188)
HSLhsl(255, 45%, 52%)
HSVhsv(255, 58%, 74%)
CMYKcmyk(43.6%, 58%, 0%, 26.3%)
CIE-LABlab(41.67, 37.57, -53.84)
CIE-LCHlch(41.67, 65.65, 304.91°)
OKLaboklab(51.29% 0.0585 -0.1534)
OKLCHoklch(51.29% 0.164 290.9)
XYZxyz(17.8144, 12.2864, 49.0001)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FBC #A1BC4F
analogous
#4F6BBC #6A4FBC #A04FBC
triadic
#6A4FBC #BC6A4F #4FBC6A
tetradic
#6A4FBC #BC4F6B #A1BC4F #4FBCA0
square
#6A4FBC #BC4F6B #A1BC4F #4FBCA0
split-complementary
#6A4FBC #BCA04F #6BBC4F
monochromatic
#382869 #503995 #6A4FBC #907BCD #B5A8DE

Accessibility & contrast

On white

6.07
#6A4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6A4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FBC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FBC#FFFFFF#000000##FFFFFF
##6A4FBC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464C0
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#52677E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4fbc;
/* rgb */ color: rgb(106, 79, 188);
/* oklch */ color: oklch(51.3% 0.164 290.9);
Tailwind
colors: {
  custom: {
    50: '#9a81d1',
    500: '#6a4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fbc;
$custom-light: #9a81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fbc",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 254.862,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.16421,
    "h": 290.9
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#6A4FBC
secondary
#BFCB9C
accent
#D553B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6A4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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