#6B48E1#6B48E1

#6B48E1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.219 H 286.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6B48E1
RGBrgb(107, 72, 225)
HSLhsl(254, 72%, 58%)
HSVhsv(254, 68%, 88%)
CMYKcmyk(52.4%, 68%, 0%, 11.8%)
CIE-LABlab(43.06, 52.29, -72.91)
CIE-LCHlch(43.06, 89.72, 305.65°)
OKLaboklab(53.18% 0.0637 -0.2095)
OKLCHoklch(53.18% 0.219 286.9)
XYZxyz(21.9673, 13.1957, 72.6091)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48E1 #BEE148
analogous
#4872E1 #6B48E1 #B748E1
triadic
#6B48E1 #E16B48 #48E16B
tetradic
#6B48E1 #E14872 #BEE148 #48E1B7
square
#6B48E1 #E14872 #BEE148 #48E1B7
split-complementary
#6B48E1 #E1B748 #72E148
monochromatic
#351996 #4821CB #6B48E1 #967DEA #C0B1F2

Accessibility & contrast

On white

5.77
#6B48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6B48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48E1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48E1#FFFFFF#000000##FFFFFF
##6B48E11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#3C6F8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b48e1;
/* rgb */ color: rgb(107, 72, 225);
/* oklch */ color: oklch(53.2% 0.219 286.9);
Tailwind
colors: {
  custom: {
    50: '#a07eec',
    500: '#6b48e1',
    950: '#000000',
  },
}
SCSS
$custom: #6b48e1;
$custom-light: #a07eec;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48e1",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 253.725,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.21892,
    "h": 286.9
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#6B48E1
secondary
#D3E1A4
accent
#EF39C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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