#6F48E5#6F48E5

#6F48E5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.223 H 287.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6F48E5
RGBrgb(111, 72, 229)
HSLhsl(255, 75%, 59%)
HSVhsv(255, 69%, 90%)
CMYKcmyk(51.5%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.76, 54.06, -74.02)
CIE-LCHlch(43.76, 91.66, 306.14°)
OKLaboklab(53.87% 0.0685 -0.2126)
OKLCHoklch(53.87% 0.223 287.9)
XYZxyz(23.0116, 13.6703, 75.5397)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48E5 #BEE548
analogous
#4870E5 #6F48E5 #BD48E5
triadic
#6F48E5 #E56F48 #48E56F
tetradic
#6F48E5 #E54870 #BEE548 #48E5BD
square
#6F48E5 #E54870 #BEE548 #48E5BD
split-complementary
#6F48E5 #E5BD48 #70E548
monochromatic
#38169C #4B1ED2 #6F48E5 #997EED #C3B3F4

Accessibility & contrast

On white

5.62
#6F48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6F48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48E5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48E5#FFFFFF#000000##FFFFFF
##6F48E51.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#427091
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f48e5;
/* rgb */ color: rgb(111, 72, 229);
/* oklch */ color: oklch(53.9% 0.223 287.9);
Tailwind
colors: {
  custom: {
    50: '#a37eee',
    500: '#6f48e5',
    950: '#000000',
  },
}
SCSS
$custom: #6f48e5;
$custom-light: #a37eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48e5",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 254.904,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.22336,
    "h": 287.9
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#6F48E5
secondary
#D4E3A6
accent
#F236C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6F48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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