#6F48D3#6F48D3

#6F48D3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.202 H 290.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6F48D3
RGBrgb(111, 72, 211)
HSLhsl(257, 61%, 55%)
HSVhsv(257, 66%, 83%)
CMYKcmyk(47.4%, 65.9%, 0%, 17.3%)
CIE-LABlab(42.33, 49.04, -66.07)
CIE-LCHlch(42.33, 82.28, 306.58°)
OKLaboklab(52.41% 0.0712 -0.1892)
OKLCHoklch(52.41% 0.202 290.6)
XYZxyz(20.6275, 12.7166, 62.9831)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48D3 #ACD348
analogous
#4866D3 #6F48D3 #B548D3
triadic
#6F48D3 #D36F48 #48D36F
tetradic
#6F48D3 #D34866 #ACD348 #48D3B5
square
#6F48D3 #D34866 #ACD348 #48D3B5
split-complementary
#6F48D3 #D3B548 #66D348
monochromatic
#3B1F81 #512BB3 #6F48D3 #9679DF #BDABEB

Accessibility & contrast

On white

5.93
#6F48D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6F48D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48D3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48D3#FFFFFF#000000##FFFFFF
##6F48D31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#4F6A87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f48d3;
/* rgb */ color: rgb(111, 72, 211);
/* oklch */ color: oklch(52.4% 0.202 290.6);
Tailwind
colors: {
  custom: {
    50: '#a07de1',
    500: '#6f48d3',
    950: '#000000',
  },
}
SCSS
$custom: #6f48d3;
$custom-light: #a07de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48d3",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 256.835,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.20218,
    "h": 290.6
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#6F48D3
secondary
#C8D89E
accent
#E443B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #6F48D3

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

Preview Lab → · Contrast checker → · Palette generator →

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