#6A45CF#6A45CF

#6A45CF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.2% C 0.201 H 289.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6A45CF
RGBrgb(106, 69, 207)
HSLhsl(256, 59%, 54%)
HSVhsv(256, 67%, 81%)
CMYKcmyk(48.8%, 66.7%, 0%, 18.8%)
CIE-LABlab(40.94, 48.63, -66.06)
CIE-LCHlch(40.94, 82.03, 306.36°)
OKLaboklab(51.19% 0.0678 -0.1894)
OKLCHoklch(51.19% 0.201 289.7)
XYZxyz(19.3312, 11.8246, 60.2832)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45CF #AACF45
analogous
#4565CF #6A45CF #AF45CF
triadic
#6A45CF #CF6A45 #45CF6A
tetradic
#6A45CF #CF4565 #AACF45 #45CFAF
square
#6A45CF #CF4565 #AACF45 #45CFAF
split-complementary
#6A45CF #CFAF45 #65CF45
monochromatic
#38207A #4E2CAB #6A45CF #9176DC #B8A6E8

Accessibility & contrast

On white

6.24
#6A45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45CF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45CF#FFFFFF#000000##FFFFFF
##6A45CF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#486784
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a45cf;
/* rgb */ color: rgb(106, 69, 207);
/* oklch */ color: oklch(51.2% 0.201 289.7);
Tailwind
colors: {
  custom: {
    50: '#9d7bdf',
    500: '#6a45cf',
    950: '#000000',
  },
}
SCSS
$custom: #6a45cf;
$custom-light: #9d7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45cf",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 256.087,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.20113,
    "h": 289.7
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#6A45CF
secondary
#C6D59B
accent
#E246B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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