#6F48E1#6F48E1

#6F48E1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.219 H 288.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6F48E1
RGBrgb(111, 72, 225)
HSLhsl(255, 72%, 58%)
HSVhsv(255, 68%, 88%)
CMYKcmyk(50.7%, 68%, 0%, 11.8%)
CIE-LABlab(43.43, 52.94, -72.28)
CIE-LCHlch(43.43, 89.60, 306.22°)
OKLaboklab(53.54% 0.0691 -0.2075)
OKLCHoklch(53.54% 0.219 288.4)
XYZxyz(22.4596, 13.4494, 72.6321)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48E1 #BAE148
analogous
#486DE1 #6F48E1 #BB48E1
triadic
#6F48E1 #E16F48 #48E16F
tetradic
#6F48E1 #E1486D #BAE148 #48E1BB
square
#6F48E1 #E1486D #BAE148 #48E1BB
split-complementary
#6F48E1 #E1BB48 #6DE148
monochromatic
#391996 #4C21CB #6F48E1 #987DEA #C2B1F2

Accessibility & contrast

On white

5.69
#6F48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6F48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48E1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48E1#FFFFFF#000000##FFFFFF
##6F48E11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#456F8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f48e1;
/* rgb */ color: rgb(111, 72, 225);
/* oklch */ color: oklch(53.5% 0.219 288.4);
Tailwind
colors: {
  custom: {
    50: '#a27eeb',
    500: '#6f48e1',
    950: '#000000',
  },
}
SCSS
$custom: #6f48e1;
$custom-light: #a27eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48e1",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 255.294,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.2187,
    "h": 288.4
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#6F48E1
secondary
#D1E1A4
accent
#EF39C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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