#6B45D2#6B45D2

#6B45D2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.205 H 289.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6B45D2
RGBrgb(107, 69, 210)
HSLhsl(256, 61%, 55%)
HSVhsv(256, 67%, 82%)
CMYKcmyk(49%, 67.1%, 0%, 17.6%)
CIE-LABlab(41.27, 49.65, -67.24)
CIE-LCHlch(41.27, 83.58, 306.44°)
OKLaboklab(51.53% 0.0687 -0.1928)
OKLCHoklch(51.53% 0.205 289.6)
XYZxyz(19.8210, 12.0344, 62.2388)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45D2 #ACD245
analogous
#4566D2 #6B45D2 #B145D2
triadic
#6B45D2 #D26B45 #45D26B
tetradic
#6B45D2 #D24566 #ACD245 #45D2B1
square
#6B45D2 #D24566 #ACD245 #45D2B1
split-complementary
#6B45D2 #D2B145 #66D245
monochromatic
#381F7E #4E2AAF #6B45D2 #9276DE #B9A8EA

Accessibility & contrast

On white

6.16
#6B45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6B45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45D2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45D2#FFFFFF#000000##FFFFFF
##6B45D21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#486886
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b45d2;
/* rgb */ color: rgb(107, 69, 210);
/* oklch */ color: oklch(51.5% 0.205 289.6);
Tailwind
colors: {
  custom: {
    50: '#9e7be1',
    500: '#6b45d2',
    950: '#000000',
  },
}
SCSS
$custom: #6b45d2;
$custom-light: #9e7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45d2",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 256.17,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.20469,
    "h": 289.6
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#6B45D2
secondary
#C7D79C
accent
#E444B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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