#6F48CA#6F48CA

#6F48CA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.191 H 292.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6F48CA
RGBrgb(111, 72, 202)
HSLhsl(258, 55%, 54%)
HSVhsv(258, 64%, 79%)
CMYKcmyk(45%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.65, 46.54, -61.98)
CIE-LCHlch(41.65, 77.51, 306.90°)
OKLaboklab(51.71% 0.0722 -0.1772)
OKLCHoklch(51.71% 0.191 292.2)
XYZxyz(19.5306, 12.2779, 57.2065)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48CA #A3CA48
analogous
#4862CA #6F48CA #B048CA
triadic
#6F48CA #CA6F48 #48CA6F
tetradic
#6F48CA #CA4862 #A3CA48 #48CAB0
square
#6F48CA #CA4862 #A3CA48 #48CAB0
split-complementary
#6F48CA #CAB048 #62CA48
monochromatic
#3B2276 #5330A5 #6F48CA #9477D8 #BAA7E5

Accessibility & contrast

On white

6.08
#6F48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6F48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48CA#FFFFFF#000000##FFFFFF
##6F48CA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#546782
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f48ca;
/* rgb */ color: rgb(111, 72, 202);
/* oklch */ color: oklch(51.7% 0.191 292.2);
Tailwind
colors: {
  custom: {
    50: '#9f7ddb',
    500: '#6f48ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f48ca;
$custom-light: #9f7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48ca",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 258,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.19137,
    "h": 292.2
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#6F48CA
secondary
#C2D39B
accent
#DE49B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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