#6F45C4#6F45C4

#6F45C4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.188 H 293.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6F45C4
RGBrgb(111, 69, 196)
HSLhsl(260, 52%, 52%)
HSVhsv(260, 65%, 77%)
CMYKcmyk(43.4%, 64.8%, 0%, 23.1%)
CIE-LABlab(40.61, 46.52, -60.20)
CIE-LCHlch(40.61, 76.08, 307.70°)
OKLaboklab(50.81% 0.076 -0.172)
OKLCHoklch(50.81% 0.188 293.9)
XYZxyz(18.6448, 11.6208, 53.4745)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45C4 #9AC445
analogous
#455AC4 #6F45C4 #AF45C4
triadic
#6F45C4 #C46F45 #45C46F
tetradic
#6F45C4 #C4455A #9AC445 #45C4AF
square
#6F45C4 #C4455A #9AC445 #45C4AF
split-complementary
#6F45C4 #C4AF45 #5AC445
monochromatic
#3B226C #54319B #6F45C4 #9373D3 #B7A2E1

Accessibility & contrast

On white

6.32
#6F45C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6F45C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45C4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45C4#FFFFFF#000000##FFFFFF
##6F45C41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#57637E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f45c4;
/* rgb */ color: rgb(111, 69, 196);
/* oklch */ color: oklch(50.8% 0.188 293.9);
Tailwind
colors: {
  custom: {
    50: '#9f7bd7',
    500: '#6f45c4',
    950: '#000000',
  },
}
SCSS
$custom: #6f45c4;
$custom-light: #9f7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45c4",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 259.843,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.18803,
    "h": 293.9
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#6F45C4
secondary
#BCCE97
accent
#DB4DAC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6F45C4

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

Preview Lab → · Contrast checker → · Palette generator →

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