#6F48DC#6F48DC

#6F48DC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.213 H 289.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6F48DC
RGBrgb(111, 72, 220)
HSLhsl(256, 68%, 57%)
HSVhsv(256, 67%, 86%)
CMYKcmyk(49.5%, 67.3%, 0%, 13.7%)
CIE-LABlab(43.03, 51.55, -70.08)
CIE-LCHlch(43.03, 87.00, 306.33°)
OKLaboklab(53.13% 0.0699 -0.201)
OKLCHoklch(53.13% 0.213 289.2)
XYZxyz(21.7874, 13.1806, 69.0924)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48DC #B5DC48
analogous
#486BDC #6F48DC #B948DC
triadic
#6F48DC #DC6F48 #48DC6F
tetradic
#6F48DC #DC486B #B5DC48 #48DCB9
square
#6F48DC #DC486B #B5DC48 #48DCB9
split-complementary
#6F48DC #DCB948 #6BDC48
monochromatic
#3A1B8E #4E25C2 #6F48DC #977BE6 #C0AFF0

Accessibility & contrast

On white

5.77
#6F48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6F48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48DC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48DC#FFFFFF#000000##FFFFFF
##6F48DC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E1
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#496D8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f48dc;
/* rgb */ color: rgb(111, 72, 220);
/* oklch */ color: oklch(53.1% 0.213 289.2);
Tailwind
colors: {
  custom: {
    50: '#a17ee8',
    500: '#6f48dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f48dc;
$custom-light: #a17ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48dc",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 255.811,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.21284,
    "h": 289.2
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#6F48DC
secondary
#CEDEA2
accent
#EB3DBD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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