#6C4DF4#6C4DF4

#6C4DF4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.236 H 284.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6C4DF4
RGBrgb(108, 77, 244)
HSLhsl(251, 88%, 63%)
HSVhsv(251, 68%, 96%)
CMYKcmyk(55.7%, 68.4%, 0%, 4.3%)
CIE-LABlab(45.67, 55.23, -79.36)
CIE-LCHlch(45.67, 96.69, 304.84°)
OKLaboklab(55.56% 0.0577 -0.2284)
OKLCHoklch(55.56% 0.236 284.2)
XYZxyz(25.1624, 15.0260, 87.1448)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DF4 #D5F44D
analogous
#4D81F4 #6C4DF4 #C04DF4
triadic
#6C4DF4 #F46C4D #4DF46C
tetradic
#6C4DF4 #F44D81 #D5F44D #4DF4C0
square
#6C4DF4 #F44D81 #D5F44D #4DF4C0
split-complementary
#6C4DF4 #F4C04D #81F44D
monochromatic
#2C0CBB #3C13F0 #6C4DF4 #9C87F8 #CBC0FB

Accessibility & contrast

On white

5.24
#6C4DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6C4DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DF4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DF4#FFFFFF#000000##FFFFFF
##6C4DF41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F9
Deuteranopia (green-blind)
#0067F1
Tritanopia (blue-blind)
#28799B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c4df4;
/* rgb */ color: rgb(108, 77, 244);
/* oklch */ color: oklch(55.6% 0.236 284.2);
Tailwind
colors: {
  custom: {
    50: '#a381f9',
    500: '#6c4df4',
    950: '#000000',
  },
}
SCSS
$custom: #6c4df4;
$custom-light: #a381f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4df4",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 251.138,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.23555,
    "h": 284.2
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#6C4DF4
secondary
#E1ECB0
accent
#E501BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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