#6C4BDB#6C4BDB

#6C4BDB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.2% C 0.208 H 287.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6C4BDB
RGBrgb(108, 75, 219)
HSLhsl(254, 67%, 58%)
HSVhsv(254, 66%, 86%)
CMYKcmyk(50.7%, 65.8%, 0%, 14.1%)
CIE-LABlab(43.26, 49.13, -69.15)
CIE-LCHlch(43.26, 84.83, 305.39°)
OKLaboklab(53.2% 0.0632 -0.1984)
OKLCHoklch(53.2% 0.208 287.7)
XYZxyz(21.4829, 13.3338, 68.4458)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BDB #BADB4B
analogous
#4B72DB #6C4BDB #B44BDB
triadic
#6C4BDB #DB6C4B #4BDB6C
tetradic
#6C4BDB #DB4B72 #BADB4B #4BDBB4
square
#6C4BDB #DB4B72 #BADB4B #4BDBB4
split-complementary
#6C4BDB #DBB44B #72DB4B
monochromatic
#371D8F #4A27C2 #6C4BDB #967EE5 #BFB1EF

Accessibility & contrast

On white

5.73
#6C4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6C4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BDB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BDB#FFFFFF#000000##FFFFFF
##6C4BDB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#436F8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c4bdb;
/* rgb */ color: rgb(108, 75, 219);
/* oklch */ color: oklch(53.2% 0.208 287.7);
Tailwind
colors: {
  custom: {
    50: '#9f7fe7',
    500: '#6c4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bdb;
$custom-light: #9f7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bdb",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 253.75,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.20821,
    "h": 287.7
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#6C4BDB
secondary
#D1DEA4
accent
#EA3EC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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