#6A45BF#6A45BF

#6A45BF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.182 H 292.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6A45BF
RGBrgb(106, 69, 191)
HSLhsl(258, 49%, 51%)
HSVhsv(258, 64%, 75%)
CMYKcmyk(44.5%, 63.9%, 0%, 25.1%)
CIE-LABlab(39.72, 44.14, -58.75)
CIE-LCHlch(39.72, 73.48, 306.92°)
OKLaboklab(49.93% 0.0697 -0.1679)
OKLCHoklch(49.93% 0.182 292.5)
XYZxyz(17.4734, 11.0815, 50.4984)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45BF #9ABF45
analogous
#455DBF #6A45BF #A745BF
triadic
#6A45BF #BF6A45 #45BF6A
tetradic
#6A45BF #BF455D #9ABF45 #45BFA7
square
#6A45BF #BF455D #9ABF45 #45BFA7
split-complementary
#6A45BF #BFA745 #5DBF45
monochromatic
#382366 #503394 #6A45BF #8E73CF #B3A0DE

Accessibility & contrast

On white

6.53
#6A45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6A45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45BF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45BF#FFFFFF#000000##FFFFFF
##6A45BF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#51627C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a45bf;
/* rgb */ color: rgb(106, 69, 191);
/* oklch */ color: oklch(49.9% 0.182 292.5);
Tailwind
colors: {
  custom: {
    50: '#9b7bd3',
    500: '#6a45bf',
    950: '#000000',
  },
}
SCSS
$custom: #6a45bf;
$custom-light: #9b7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45bf",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 258.197,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49929,
    "c": 0.18175,
    "h": 292.5
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#6A45BF
secondary
#BBCB95
accent
#D84FAF
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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