#6F48DA#6F48DA

#6F48DA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.210 H 289.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6F48DA
RGBrgb(111, 72, 218)
HSLhsl(256, 66%, 57%)
HSVhsv(256, 67%, 85%)
CMYKcmyk(49.1%, 67%, 0%, 14.5%)
CIE-LABlab(42.88, 50.99, -69.20)
CIE-LCHlch(42.88, 85.95, 306.38°)
OKLaboklab(52.97% 0.0702 -0.1984)
OKLCHoklch(52.97% 0.21 289.5)
XYZxyz(21.5242, 13.0753, 67.7057)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48DA #B3DA48
analogous
#486ADA #6F48DA #B848DA
triadic
#6F48DA #DA6F48 #48DA6F
tetradic
#6F48DA #DA486A #B3DA48 #48DAB8
square
#6F48DA #DA486A #B3DA48 #48DAB8
split-complementary
#6F48DA #DAB848 #6ADA48
monochromatic
#3A1C8B #4F26BE #6F48DA #977BE4 #BFAEEF

Accessibility & contrast

On white

5.81
#6F48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6F48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48DA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48DA#FFFFFF#000000##FFFFFF
##6F48DA1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#4A6C8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f48da;
/* rgb */ color: rgb(111, 72, 218);
/* oklch */ color: oklch(53.0% 0.210 289.5);
Tailwind
colors: {
  custom: {
    50: '#a17ee6',
    500: '#6f48da',
    950: '#000000',
  },
}
SCSS
$custom: #6f48da;
$custom-light: #a17ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48da",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 256.027,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.21048,
    "h": 289.5
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#6F48DA
secondary
#CDDDA1
accent
#E93FBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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