#6A45BB#6A45BB

#6A45BB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.177 H 293.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6A45BB
RGBrgb(106, 69, 187)
HSLhsl(259, 46%, 50%)
HSVhsv(259, 63%, 73%)
CMYKcmyk(43.3%, 63.1%, 0%, 26.7%)
CIE-LABlab(39.42, 43.03, -56.88)
CIE-LCHlch(39.42, 71.32, 307.11°)
OKLaboklab(49.63% 0.07 -0.1624)
OKLCHoklch(49.63% 0.177 293.3)
XYZxyz(17.0392, 10.9078, 48.2117)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45BB #96BB45
analogous
#455BBB #6A45BB #A545BB
triadic
#6A45BB #BB6A45 #45BB6A
tetradic
#6A45BB #BB455B #96BB45 #45BBA5
square
#6A45BB #BB455B #96BB45 #45BBA5
split-complementary
#6A45BB #BBA545 #5BBB45
monochromatic
#372462 #51348F #6A45BB #8E72CB #B29FDC

Accessibility & contrast

On white

6.60
#6A45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6A45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45BB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45BB#FFFFFF#000000##FFFFFF
##6A45BB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#536079
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a45bb;
/* rgb */ color: rgb(106, 69, 187);
/* oklch */ color: oklch(49.6% 0.177 293.3);
Tailwind
colors: {
  custom: {
    50: '#9b7bd0',
    500: '#6a45bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a45bb;
$custom-light: #9b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45bb",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 258.814,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.17683,
    "h": 293.3
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#6A45BB
secondary
#B8C894
accent
#D652AD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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