#6F48CF#6F48CF

#6F48CF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.197 H 291.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6F48CF
RGBrgb(111, 72, 207)
HSLhsl(257, 58%, 55%)
HSVhsv(257, 65%, 81%)
CMYKcmyk(46.4%, 65.2%, 0%, 18.8%)
CIE-LABlab(42.03, 47.93, -64.26)
CIE-LCHlch(42.03, 80.16, 306.72°)
OKLaboklab(52.1% 0.0717 -0.1839)
OKLCHoklch(52.1% 0.197 291.3)
XYZxyz(20.1322, 12.5185, 60.3749)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48CF #A8CF48
analogous
#4865CF #6F48CF #B248CF
triadic
#6F48CF #CF6F48 #48CF6F
tetradic
#6F48CF #CF4865 #A8CF48 #48CFB2
square
#6F48CF #CF4865 #A8CF48 #48CFB2
split-complementary
#6F48CF #CFB248 #65CF48
monochromatic
#3B217C #522DAD #6F48CF #9578DC #BBA9E8

Accessibility & contrast

On white

5.99
#6F48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6F48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48CF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48CF#FFFFFF#000000##FFFFFF
##6F48CF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#516985
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f48cf;
/* rgb */ color: rgb(111, 72, 207);
/* oklch */ color: oklch(52.1% 0.197 291.3);
Tailwind
colors: {
  custom: {
    50: '#a07ddf',
    500: '#6f48cf',
    950: '#000000',
  },
}
SCSS
$custom: #6f48cf;
$custom-light: #a07ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48cf",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 257.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.19739,
    "h": 291.3
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#6F48CF
secondary
#C5D69D
accent
#E246B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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