#6C4FCB#6C4FCB

#6C4FCB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.183 H 289.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6C4FCB
RGBrgb(108, 79, 203)
HSLhsl(254, 54%, 55%)
HSVhsv(254, 61%, 80%)
CMYKcmyk(46.8%, 61.1%, 0%, 20.4%)
CIE-LABlab(42.90, 42.30, -60.55)
CIE-LCHlch(42.90, 73.86, 304.94°)
OKLaboklab(52.57% 0.0606 -0.1731)
OKLCHoklch(52.57% 0.183 289.3)
XYZxyz(19.7567, 13.0911, 57.9742)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FCB #AECB4F
analogous
#4F70CB #6C4FCB #AA4FCB
triadic
#6C4FCB #CB6C4F #4FCB6C
tetradic
#6C4FCB #CB4F70 #AECB4F #4FCBAA
square
#6C4FCB #CB4F70 #AECB4F #4FCBAA
split-complementary
#6C4FCB #CBAA4F #70CB4F
monochromatic
#39247B #4E32AA #6C4FCB #937ED9 #BBADE7

Accessibility & contrast

On white

5.80
#6C4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6C4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FCB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FCB#FFFFFF#000000##FFFFFF
##6C4FCB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#4E6C85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4fcb;
/* rgb */ color: rgb(108, 79, 203);
/* oklch */ color: oklch(52.6% 0.183 289.3);
Tailwind
colors: {
  custom: {
    50: '#9d82dc',
    500: '#6c4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fcb;
$custom-light: #9d82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fcb",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 254.032,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.18342,
    "h": 289.3
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#6C4FCB
secondary
#C9D5A1
accent
#DE4ABB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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