#6A45BC#6A45BC

#6A45BC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.178 H 293.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6A45BC
RGBrgb(106, 69, 188)
HSLhsl(259, 47%, 50%)
HSVhsv(259, 63%, 74%)
CMYKcmyk(43.6%, 63.3%, 0%, 26.3%)
CIE-LABlab(39.50, 43.31, -57.35)
CIE-LCHlch(39.50, 71.86, 307.06°)
OKLaboklab(49.7% 0.0699 -0.1638)
OKLCHoklch(49.7% 0.178 293.1)
XYZxyz(17.1466, 10.9508, 48.7775)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45BC #97BC45
analogous
#455CBC #6A45BC #A545BC
triadic
#6A45BC #BC6A45 #45BC6A
tetradic
#6A45BC #BC455C #97BC45 #45BCA5
square
#6A45BC #BC455C #97BC45 #45BCA5
split-complementary
#6A45BC #BCA545 #5CBC45
monochromatic
#372463 #503490 #6A45BC #8E72CC #B29FDC

Accessibility & contrast

On white

6.58
#6A45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6A45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45BC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45BC#FFFFFF#000000##FFFFFF
##6A45BC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#53617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a45bc;
/* rgb */ color: rgb(106, 69, 188);
/* oklch */ color: oklch(49.7% 0.178 293.1);
Tailwind
colors: {
  custom: {
    50: '#9b7bd1',
    500: '#6a45bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a45bc;
$custom-light: #9b7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45bc",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 258.655,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.497,
    "c": 0.17807,
    "h": 293.1
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#6A45BC
secondary
#B8C994
accent
#D751AD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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