#6F45BB#6F45BB

#6F45BB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.177 H 295.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6F45BB
RGBrgb(111, 69, 187)
HSLhsl(261, 46%, 50%)
HSVhsv(261, 63%, 73%)
CMYKcmyk(40.6%, 63.1%, 0%, 26.7%)
CIE-LABlab(39.95, 44.08, -56.00)
CIE-LCHlch(39.95, 71.27, 308.21°)
OKLaboklab(50.13% 0.0769 -0.1596)
OKLCHoklch(50.13% 0.177 295.7)
XYZxyz(17.6510, 11.2232, 48.2404)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45BB #91BB45
analogous
#4556BB #6F45BB #AA45BB
triadic
#6F45BB #BB6F45 #45BB6F
tetradic
#6F45BB #BB4556 #91BB45 #45BBAA
square
#6F45BB #BB4556 #91BB45 #45BBAA
split-complementary
#6F45BB #BBAA45 #56BB45
monochromatic
#3A2462 #54348F #6F45BB #9272CB #B49FDC

Accessibility & contrast

On white

6.47
#6F45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6F45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45BB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45BB#FFFFFF#000000##FFFFFF
##6F45BB1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#5C607A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6f45bb;
/* rgb */ color: rgb(111, 69, 187);
/* oklch */ color: oklch(50.1% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#9e7bd0',
    500: '#6f45bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f45bb;
$custom-light: #9e7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45bb",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 261.356,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.17716,
    "h": 295.7
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#6F45BB
secondary
#B5C894
accent
#D652A7
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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