#6F45BF#6F45BF

#6F45BF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.182 H 294.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6F45BF
RGBrgb(111, 69, 191)
HSLhsl(261, 49%, 51%)
HSVhsv(261, 64%, 75%)
CMYKcmyk(41.9%, 63.9%, 0%, 25.1%)
CIE-LABlab(40.24, 45.17, -57.87)
CIE-LCHlch(40.24, 73.41, 307.97°)
OKLaboklab(50.43% 0.0765 -0.1651)
OKLCHoklch(50.43% 0.182 294.9)
XYZxyz(18.0851, 11.3969, 50.5271)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45BF #95BF45
analogous
#4558BF #6F45BF #AC45BF
triadic
#6F45BF #BF6F45 #45BF6F
tetradic
#6F45BF #BF4558 #95BF45 #45BFAC
square
#6F45BF #BF4558 #95BF45 #45BFAC
split-complementary
#6F45BF #BFAC45 #58BF45
monochromatic
#3A2366 #543394 #6F45BF #9273CF #B6A0DE

Accessibility & contrast

On white

6.40
#6F45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6F45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45BF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45BF#FFFFFF#000000##FFFFFF
##6F45BF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#5A617C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f45bf;
/* rgb */ color: rgb(111, 69, 191);
/* oklch */ color: oklch(50.4% 0.182 294.9);
Tailwind
colors: {
  custom: {
    50: '#9e7bd3',
    500: '#6f45bf',
    950: '#000000',
  },
}
SCSS
$custom: #6f45bf;
$custom-light: #9e7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45bf",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 260.656,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.18201,
    "h": 294.9
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#6F45BF
secondary
#B8CB95
accent
#D84FA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6F45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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