#6B4FE1#6B4FE1

#6B4FE1 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.2% C 0.211 H 285.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6B4FE1
RGBrgb(107, 79, 225)
HSLhsl(252, 71%, 60%)
HSVhsv(252, 65%, 88%)
CMYKcmyk(52.4%, 64.9%, 0%, 11.8%)
CIE-LABlab(44.45, 48.49, -70.63)
CIE-LCHlch(44.45, 85.68, 304.47°)
OKLaboklab(54.19% 0.0574 -0.2028)
OKLCHoklch(54.19% 0.211 285.8)
XYZxyz(22.4459, 14.1528, 72.7686)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FE1 #C5E14F
analogous
#4F7CE1 #6B4FE1 #B44FE1
triadic
#6B4FE1 #E16B4F #4FE16B
tetradic
#6B4FE1 #E14F7C #C5E14F #4FE1B4
square
#6B4FE1 #E14F7C #C5E14F #4FE1B4
split-complementary
#6B4FE1 #E1B44F #7CE14F
monochromatic
#331A9B #4423CF #6B4FE1 #9783EA #C3B8F3

Accessibility & contrast

On white

5.48
#6B4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6B4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FE1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FE1#FFFFFF#000000##FFFFFF
##6B4FE11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#3B7391
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b4fe1;
/* rgb */ color: rgb(107, 79, 225);
/* oklch */ color: oklch(54.2% 0.211 285.8);
Tailwind
colors: {
  custom: {
    50: '#9f82eb',
    500: '#6b4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fe1;
$custom-light: #9f82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fe1",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 251.507,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54185,
    "c": 0.21075,
    "h": 285.8
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#6B4FE1
secondary
#D7E2AA
accent
#EE3ACB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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