#6F45BC#6F45BC

#6F45BC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.178 H 295.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6F45BC
RGBrgb(111, 69, 188)
HSLhsl(261, 47%, 50%)
HSVhsv(261, 63%, 74%)
CMYKcmyk(41%, 63.3%, 0%, 26.3%)
CIE-LABlab(40.03, 44.35, -56.47)
CIE-LCHlch(40.03, 71.80, 308.15°)
OKLaboklab(50.21% 0.0768 -0.161)
OKLCHoklch(50.21% 0.178 295.5)
XYZxyz(17.7584, 11.2662, 48.8062)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45BC #92BC45
analogous
#4557BC #6F45BC #AA45BC
triadic
#6F45BC #BC6F45 #45BC6F
tetradic
#6F45BC #BC4557 #92BC45 #45BCAA
square
#6F45BC #BC4557 #92BC45 #45BCAA
split-complementary
#6F45BC #BCAA45 #57BC45
monochromatic
#3A2463 #543490 #6F45BC #9272CC #B59FDC

Accessibility & contrast

On white

6.45
#6F45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6F45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45BC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45BC#FFFFFF#000000##FFFFFF
##6F45BC1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#5B607A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6f45bc;
/* rgb */ color: rgb(111, 69, 188);
/* oklch */ color: oklch(50.2% 0.178 295.5);
Tailwind
colors: {
  custom: {
    50: '#9e7bd1',
    500: '#6f45bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f45bc;
$custom-light: #9e7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45bc",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 261.176,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.17837,
    "h": 295.5
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#6F45BC
secondary
#B6C994
accent
#D751A8
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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