#6F48CC#6F48CC

#6F48CC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.194 H 291.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6F48CC
RGBrgb(111, 72, 204)
HSLhsl(258, 56%, 54%)
HSVhsv(258, 65%, 80%)
CMYKcmyk(45.6%, 64.7%, 0%, 20%)
CIE-LABlab(41.80, 47.09, -62.89)
CIE-LCHlch(41.80, 78.57, 306.83°)
OKLaboklab(51.86% 0.072 -0.1799)
OKLCHoklch(51.86% 0.194 291.8)
XYZxyz(19.7690, 12.3732, 58.4617)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48CC #A5CC48
analogous
#4863CC #6F48CC #B148CC
triadic
#6F48CC #CC6F48 #48CC6F
tetradic
#6F48CC #CC4863 #A5CC48 #48CCB1
square
#6F48CC #CC4863 #A5CC48 #48CCB1
split-complementary
#6F48CC #CCB148 #63CC48
monochromatic
#3B2178 #532FA8 #6F48CC #9578D9 #BAA8E7

Accessibility & contrast

On white

6.04
#6F48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6F48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48CC#FFFFFF#000000##FFFFFF
##6F48CC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#536784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f48cc;
/* rgb */ color: rgb(111, 72, 204);
/* oklch */ color: oklch(51.9% 0.194 291.8);
Tailwind
colors: {
  custom: {
    50: '#9f7ddc',
    500: '#6f48cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f48cc;
$custom-light: #9f7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48cc",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 257.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.19378,
    "h": 291.8
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#6F48CC
secondary
#C3D49C
accent
#E048B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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