#6F48C8#6F48C8

#6F48C8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.189 H 292.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6F48C8
RGBrgb(111, 72, 200)
HSLhsl(258, 54%, 53%)
HSVhsv(258, 64%, 78%)
CMYKcmyk(44.5%, 64%, 0%, 21.6%)
CIE-LABlab(41.51, 45.99, -61.06)
CIE-LCHlch(41.51, 76.44, 306.99°)
OKLaboklab(51.55% 0.0724 -0.1745)
OKLCHoklch(51.55% 0.189 292.5)
XYZxyz(19.2954, 12.1838, 55.9674)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48C8 #A1C848
analogous
#4861C8 #6F48C8 #AF48C8
triadic
#6F48C8 #C86F48 #48C86F
tetradic
#6F48C8 #C84861 #A1C848 #48C8AF
square
#6F48C8 #C84861 #A1C848 #48C8AF
split-complementary
#6F48C8 #C8AF48 #61C848
monochromatic
#3B2373 #5331A2 #6F48C8 #9477D6 #B9A6E4

Accessibility & contrast

On white

6.11
#6F48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6F48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48C8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48C8#FFFFFF#000000##FFFFFF
##6F48C81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#556681
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f48c8;
/* rgb */ color: rgb(111, 72, 200);
/* oklch */ color: oklch(51.6% 0.189 292.5);
Tailwind
colors: {
  custom: {
    50: '#9f7dda',
    500: '#6f48c8',
    950: '#000000',
  },
}
SCSS
$custom: #6f48c8;
$custom-light: #9f7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48c8",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 258.281,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.18894,
    "h": 292.5
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#6F48C8
secondary
#C1D19A
accent
#DD4BB1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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