#6B45CF#6B45CF

#6B45CF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.201 H 290.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6B45CF
RGBrgb(107, 69, 207)
HSLhsl(257, 59%, 54%)
HSVhsv(257, 67%, 81%)
CMYKcmyk(48.3%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.03, 48.81, -65.90)
CIE-LCHlch(41.03, 82.00, 306.53°)
OKLaboklab(51.29% 0.0692 -0.1889)
OKLCHoklch(51.29% 0.201 290.1)
XYZxyz(19.4508, 11.8863, 60.2888)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45CF #A9CF45
analogous
#4564CF #6B45CF #B045CF
triadic
#6B45CF #CF6B45 #45CF6B
tetradic
#6B45CF #CF4564 #A9CF45 #45CFB0
square
#6B45CF #CF4564 #A9CF45 #45CFB0
split-complementary
#6B45CF #CFB045 #64CF45
monochromatic
#38207A #4F2CAB #6B45CF #9276DC #B8A6E8

Accessibility & contrast

On white

6.22
#6B45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6B45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45CF#FFFFFF#000000##FFFFFF
##6B45CF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4A6784
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b45cf;
/* rgb */ color: rgb(107, 69, 207);
/* oklch */ color: oklch(51.3% 0.201 290.1);
Tailwind
colors: {
  custom: {
    50: '#9e7bdf',
    500: '#6b45cf',
    950: '#000000',
  },
}
SCSS
$custom: #6b45cf;
$custom-light: #9e7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45cf",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 256.522,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.20112,
    "h": 290.1
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#6B45CF
secondary
#C5D59B
accent
#E246B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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