#6F48BA#6F48BA

#6F48BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.5% C 0.172 H 295.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6F48BA
RGBrgb(111, 72, 186)
HSLhsl(261, 45%, 51%)
HSVhsv(261, 61%, 73%)
CMYKcmyk(40.3%, 61.3%, 0%, 27.1%)
CIE-LABlab(40.51, 42.15, -54.52)
CIE-LCHlch(40.51, 68.91, 307.71°)
OKLaboklab(50.51% 0.0735 -0.1553)
OKLCHoklch(50.51% 0.172 295.3)
XYZxyz(17.7335, 11.5590, 47.7416)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48BA #93BA48
analogous
#485ABA #6F48BA #A848BA
triadic
#6F48BA #BA6F48 #48BA6F
tetradic
#6F48BA #BA485A #93BA48 #48BAA8
square
#6F48BA #BA485A #93BA48 #48BAA8
split-complementary
#6F48BA #BAA848 #5ABA48
monochromatic
#3A2562 #54368F #6F48BA #9274CB #B5A1DC

Accessibility & contrast

On white

6.34
#6F48BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6F48BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48BA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48BA#FFFFFF#000000##FFFFFF
##6F48BA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#5C617A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f48ba;
/* rgb */ color: rgb(111, 72, 186);
/* oklch */ color: oklch(50.5% 0.172 295.3);
Tailwind
colors: {
  custom: {
    50: '#9d7dcf',
    500: '#6f48ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f48ba;
$custom-light: #9d7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48ba",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 260.526,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.17178,
    "h": 295.3
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#6F48BA
secondary
#B7C896
accent
#D553A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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