#6F45BD#6F45BD

#6F45BD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.180 H 295.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6F45BD
RGBrgb(111, 69, 189)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 63%, 74%)
CMYKcmyk(41.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(40.10, 44.62, -56.94)
CIE-LCHlch(40.10, 72.34, 308.09°)
OKLaboklab(50.28% 0.0767 -0.1624)
OKLCHoklch(50.28% 0.18 295.3)
XYZxyz(17.8665, 11.3095, 49.3759)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45BD #93BD45
analogous
#4557BD #6F45BD #AB45BD
triadic
#6F45BD #BD6F45 #45BD6F
tetradic
#6F45BD #BD4557 #93BD45 #45BDAB
square
#6F45BD #BD4557 #93BD45 #45BDAB
split-complementary
#6F45BD #BDAB45 #57BD45
monochromatic
#3A2464 #543491 #6F45BD #9272CD #B59FDD

Accessibility & contrast

On white

6.44
#6F45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6F45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45BD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45BD#FFFFFF#000000##FFFFFF
##6F45BD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#5B607B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6f45bd;
/* rgb */ color: rgb(111, 69, 189);
/* oklch */ color: oklch(50.3% 0.180 295.3);
Tailwind
colors: {
  custom: {
    50: '#9e7bd2',
    500: '#6f45bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f45bd;
$custom-light: #9e7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45bd",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 261,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.17959,
    "h": 295.3
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#6F45BD
secondary
#B7CA94
accent
#D751A8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6F45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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