#6F48CE#6F48CE

#6F48CE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.196 H 291.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6F48CE
RGBrgb(111, 72, 206)
HSLhsl(257, 58%, 55%)
HSVhsv(257, 65%, 81%)
CMYKcmyk(46.1%, 65%, 0%, 19.2%)
CIE-LABlab(41.95, 47.65, -63.81)
CIE-LCHlch(41.95, 79.63, 306.75°)
OKLaboklab(52.02% 0.0718 -0.1826)
OKLCHoklch(52.02% 0.196 291.5)
XYZxyz(20.0104, 12.4698, 59.7331)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48CE #A7CE48
analogous
#4864CE #6F48CE #B248CE
triadic
#6F48CE #CE6F48 #48CE6F
tetradic
#6F48CE #CE4864 #A7CE48 #48CEB2
square
#6F48CE #CE4864 #A7CE48 #48CEB2
split-complementary
#6F48CE #CEB248 #64CE48
monochromatic
#3B217B #522EAB #6F48CE #9578DB #BBA9E8

Accessibility & contrast

On white

6.01
#6F48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6F48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48CE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48CE#FFFFFF#000000##FFFFFF
##6F48CE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#526885
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f48ce;
/* rgb */ color: rgb(111, 72, 206);
/* oklch */ color: oklch(52.0% 0.196 291.5);
Tailwind
colors: {
  custom: {
    50: '#a07dde',
    500: '#6f48ce',
    950: '#000000',
  },
}
SCSS
$custom: #6f48ce;
$custom-light: #a07dde;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48ce",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 257.463,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.19619,
    "h": 291.5
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#6F48CE
secondary
#C5D59D
accent
#E147B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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