#6B45CE#6B45CE

#6B45CE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.200 H 290.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6B45CE
RGBrgb(107, 69, 206)
HSLhsl(257, 58%, 54%)
HSVhsv(257, 67%, 81%)
CMYKcmyk(48.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(40.96, 48.53, -65.45)
CIE-LCHlch(40.96, 81.47, 306.56°)
OKLaboklab(51.2% 0.0693 -0.1875)
OKLCHoklch(51.2% 0.2 290.3)
XYZxyz(19.3289, 11.8375, 59.6470)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45CE #A8CE45
analogous
#4564CE #6B45CE #B045CE
triadic
#6B45CE #CE6B45 #45CE6B
tetradic
#6B45CE #CE4564 #A8CE45 #45CEB0
square
#6B45CE #CE4564 #A8CE45 #45CEB0
split-complementary
#6B45CE #CEB045 #64CE45
monochromatic
#382079 #4F2DA9 #6B45CE #9275DB #B8A6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B45CE#FFFFFF#000000##FFFFFF
##6B45CE1.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)
#0063D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#4B6784
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b45ce;
/* rgb */ color: rgb(107, 69, 206);
/* oklch */ color: oklch(51.2% 0.200 290.3);
Tailwind
colors: {
  custom: {
    50: '#9d7bde',
    500: '#6b45ce',
    950: '#000000',
  },
}
SCSS
$custom: #6b45ce;
$custom-light: #9d7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45ce",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 256.642,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.19992,
    "h": 290.3
  },
  "luminance": 0.11838
}

Semantic roles & 50–950 ramp

primary
#6B45CE
secondary
#C4D59A
accent
#E246B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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