#6F48E8#6F48E8

#6F48E8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.227 H 287.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6F48E8
RGBrgb(111, 72, 232)
HSLhsl(255, 78%, 60%)
HSVhsv(255, 69%, 91%)
CMYKcmyk(52.2%, 69%, 0%, 9%)
CIE-LABlab(44.00, 54.90, -75.32)
CIE-LCHlch(44.00, 93.21, 306.09°)
OKLaboklab(54.12% 0.068 -0.2164)
OKLCHoklch(54.12% 0.227 287.4)
XYZxyz(23.4341, 13.8393, 77.7647)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48E8 #C1E848
analogous
#4871E8 #6F48E8 #BF48E8
triadic
#6F48E8 #E86F48 #48E86F
tetradic
#6F48E8 #E84871 #C1E848 #48E8BF
square
#6F48E8 #E84871 #C1E848 #48E8BF
split-complementary
#6F48E8 #E8BF48 #71E848
monochromatic
#3714A1 #491BD8 #6F48E8 #9A7EEF #C5B5F6

Accessibility & contrast

On white

5.57
#6F48E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6F48E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48E8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48E8#FFFFFF#000000##FFFFFF
##6F48E81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#3F7293
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6f48e8;
/* rgb */ color: rgb(111, 72, 232);
/* oklch */ color: oklch(54.1% 0.227 287.4);
Tailwind
colors: {
  custom: {
    50: '#a37ef0',
    500: '#6f48e8',
    950: '#000000',
  },
}
SCSS
$custom: #6f48e8;
$custom-light: #a37ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48e8",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 254.625,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.22684,
    "h": 287.4
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#6F48E8
secondary
#D6E5A7
accent
#F434C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6F48E8

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

Preview Lab → · Contrast checker → · Palette generator →

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