#6B45DC#6B45DC

#6B45DC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.216 H 288.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6B45DC
RGBrgb(107, 69, 220)
HSLhsl(255, 68%, 57%)
HSVhsv(255, 69%, 86%)
CMYKcmyk(51.4%, 68.6%, 0%, 13.7%)
CIE-LABlab(42.07, 52.46, -71.66)
CIE-LCHlch(42.07, 88.81, 306.20°)
OKLaboklab(52.35% 0.0671 -0.2058)
OKLCHoklch(52.35% 0.216 288.1)
XYZxyz(21.1060, 12.5483, 69.0062)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45DC #B6DC45
analogous
#456BDC #6B45DC #B645DC
triadic
#6B45DC #DC6B45 #45DC6B
tetradic
#6B45DC #DC456B #B6DC45 #45DCB6
square
#6B45DC #DC456B #B6DC45 #45DCB6
split-complementary
#6B45DC #DCB645 #6BDC45
monochromatic
#371A8C #4B24C0 #6B45DC #9479E6 #BDACEF

Accessibility & contrast

On white

5.98
#6B45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6B45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45DC#FFFFFF#000000##FFFFFF
##6B45DC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#416C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b45dc;
/* rgb */ color: rgb(107, 69, 220);
/* oklch */ color: oklch(52.4% 0.216 288.1);
Tailwind
colors: {
  custom: {
    50: '#9f7ce8',
    500: '#6b45dc',
    950: '#000000',
  },
}
SCSS
$custom: #6b45dc;
$custom-light: #9f7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45dc",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 255.099,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.21647,
    "h": 288.1
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#6B45DC
secondary
#CEDDA0
accent
#EB3DBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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