#6F48DB#6F48DB

#6F48DB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.212 H 289.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6F48DB
RGBrgb(111, 72, 219)
HSLhsl(256, 67%, 57%)
HSVhsv(256, 67%, 86%)
CMYKcmyk(49.3%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.96, 51.27, -69.64)
CIE-LCHlch(42.96, 86.47, 306.36°)
OKLaboklab(53.05% 0.0701 -0.1997)
OKLCHoklch(53.05% 0.212 289.3)
XYZxyz(21.6554, 13.1278, 68.3970)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48DB #B4DB48
analogous
#486BDB #6F48DB #B848DB
triadic
#6F48DB #DB6F48 #48DB6F
tetradic
#6F48DB #DB486B #B4DB48 #48DBB8
square
#6F48DB #DB486B #B4DB48 #48DBB8
split-complementary
#6F48DB #DBB848 #6BDB48
monochromatic
#3A1C8D #4F26C0 #6F48DB #977BE5 #BFAEEF

Accessibility & contrast

On white

5.79
#6F48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6F48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48DB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48DB#FFFFFF#000000##FFFFFF
##6F48DB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#4A6D8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f48db;
/* rgb */ color: rgb(111, 72, 219);
/* oklch */ color: oklch(53.1% 0.212 289.3);
Tailwind
colors: {
  custom: {
    50: '#a17ee7',
    500: '#6f48db',
    950: '#000000',
  },
}
SCSS
$custom: #6f48db;
$custom-light: #a17ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48db",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 255.918,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.21166,
    "h": 289.3
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#6F48DB
secondary
#CDDDA2
accent
#EA3EBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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