#6F48D2#6F48D2

#6F48D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.3% C 0.201 H 290.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6F48D2
RGBrgb(111, 72, 210)
HSLhsl(257, 61%, 55%)
HSVhsv(257, 66%, 82%)
CMYKcmyk(47.1%, 65.7%, 0%, 17.6%)
CIE-LABlab(42.26, 48.76, -65.62)
CIE-LCHlch(42.26, 81.75, 306.62°)
OKLaboklab(52.33% 0.0713 -0.1879)
OKLCHoklch(52.33% 0.201 290.8)
XYZxyz(20.5025, 12.6666, 62.3249)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48D2 #ABD248
analogous
#4866D2 #6F48D2 #B448D2
triadic
#6F48D2 #D26F48 #48D26F
tetradic
#6F48D2 #D24866 #ABD248 #48D2B4
square
#6F48D2 #D24866 #ABD248 #48D2B4
split-complementary
#6F48D2 #D2B448 #66D248
monochromatic
#3B2080 #512CB1 #6F48D2 #9679DE #BCAAEA

Accessibility & contrast

On white

5.94
#6F48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6F48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48D2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48D2#FFFFFF#000000##FFFFFF
##6F48D21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#506A87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f48d2;
/* rgb */ color: rgb(111, 72, 210);
/* oklch */ color: oklch(52.3% 0.201 290.8);
Tailwind
colors: {
  custom: {
    50: '#a07de1',
    500: '#6f48d2',
    950: '#000000',
  },
}
SCSS
$custom: #6f48d2;
$custom-light: #a07de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48d2",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 256.957,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.20098,
    "h": 290.8
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#6F48D2
secondary
#C7D89E
accent
#E444B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #6F48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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