#6B48E5#6B48E5

#6B48E5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.224 H 286.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6B48E5
RGBrgb(107, 72, 229)
HSLhsl(253, 75%, 59%)
HSVhsv(253, 69%, 90%)
CMYKcmyk(53.3%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.38, 53.43, -74.65)
CIE-LCHlch(43.38, 91.80, 305.59°)
OKLaboklab(53.52% 0.063 -0.2146)
OKLCHoklch(53.52% 0.224 286.4)
XYZxyz(22.5194, 13.4165, 75.5166)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48E5 #C2E548
analogous
#4874E5 #6B48E5 #BA48E5
triadic
#6B48E5 #E56B48 #48E56B
tetradic
#6B48E5 #E54874 #C2E548 #48E5BA
square
#6B48E5 #E54874 #C2E548 #48E5BA
split-complementary
#6B48E5 #E5BA48 #74E548
monochromatic
#34169C #461ED2 #6B48E5 #967EED #C2B3F4

Accessibility & contrast

On white

5.70
#6B48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6B48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48E5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48E5#FFFFFF#000000##FFFFFF
##6B48E51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#387191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b48e5;
/* rgb */ color: rgb(107, 72, 229);
/* oklch */ color: oklch(53.5% 0.224 286.4);
Tailwind
colors: {
  custom: {
    50: '#a07eee',
    500: '#6b48e5',
    950: '#000000',
  },
}
SCSS
$custom: #6b48e5;
$custom-light: #a07eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48e5",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 253.376,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.22362,
    "h": 286.4
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#6B48E5
secondary
#D5E3A6
accent
#F236C8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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