#6B45D1#6B45D1

#6B45D1 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.203 H 289.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6B45D1
RGBrgb(107, 69, 209)
HSLhsl(256, 60%, 55%)
HSVhsv(256, 67%, 82%)
CMYKcmyk(48.8%, 67%, 0%, 18%)
CIE-LABlab(41.19, 49.37, -66.79)
CIE-LCHlch(41.19, 83.06, 306.47°)
OKLaboklab(51.45% 0.0689 -0.1915)
OKLCHoklch(51.45% 0.204 289.8)
XYZxyz(19.6969, 11.9847, 61.5847)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45D1 #ABD145
analogous
#4565D1 #6B45D1 #B145D1
triadic
#6B45D1 #D16B45 #45D16B
tetradic
#6B45D1 #D14565 #ABD145 #45D1B1
square
#6B45D1 #D14565 #ABD145 #45D1B1
split-complementary
#6B45D1 #D1B145 #65D145
monochromatic
#381F7D #4E2BAE #6B45D1 #9276DD #B9A7E9

Accessibility & contrast

On white

6.18
#6B45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6B45D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45D1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45D1#FFFFFF#000000##FFFFFF
##6B45D11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#496885
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b45d1;
/* rgb */ color: rgb(107, 69, 209);
/* oklch */ color: oklch(51.4% 0.203 289.8);
Tailwind
colors: {
  custom: {
    50: '#9e7be0',
    500: '#6b45d1',
    950: '#000000',
  },
}
SCSS
$custom: #6b45d1;
$custom-light: #9e7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45d1",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 256.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51447,
    "c": 0.2035,
    "h": 289.8
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#6B45D1
secondary
#C6D79B
accent
#E344B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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