#6F48BC#6F48BC

#6F48BC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.174 H 294.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6F48BC
RGBrgb(111, 72, 188)
HSLhsl(260, 46%, 51%)
HSVhsv(260, 62%, 74%)
CMYKcmyk(41%, 61.7%, 0%, 26.3%)
CIE-LABlab(40.65, 42.69, -55.46)
CIE-LCHlch(40.65, 69.99, 307.59°)
OKLaboklab(50.66% 0.0734 -0.1581)
OKLCHoklch(50.66% 0.174 294.9)
XYZxyz(17.9476, 11.6447, 48.8692)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48BC #95BC48
analogous
#485BBC #6F48BC #A948BC
triadic
#6F48BC #BC6F48 #48BC6F
tetradic
#6F48BC #BC485B #95BC48 #48BCA9
square
#6F48BC #BC485B #95BC48 #48BCA9
split-complementary
#6F48BC #BCA948 #5BBC48
monochromatic
#3A2565 #543592 #6F48BC #9275CC #B6A2DD

Accessibility & contrast

On white

6.31
#6F48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6F48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48BC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48BC#FFFFFF#000000##FFFFFF
##6F48BC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#5B627B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f48bc;
/* rgb */ color: rgb(111, 72, 188);
/* oklch */ color: oklch(50.7% 0.174 294.9);
Tailwind
colors: {
  custom: {
    50: '#9e7dd1',
    500: '#6f48bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f48bc;
$custom-light: #9e7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48bc",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 260.172,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.17426,
    "h": 294.9
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#6F48BC
secondary
#B8CA96
accent
#D652AA
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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