#6B45DB#6B45DB

#6B45DB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.215 H 288.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6B45DB
RGBrgb(107, 69, 219)
HSLhsl(255, 68%, 56%)
HSVhsv(255, 68%, 86%)
CMYKcmyk(51.1%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.99, 52.18, -71.23)
CIE-LCHlch(41.99, 88.29, 306.22°)
OKLaboklab(52.27% 0.0673 -0.2045)
OKLCHoklch(52.27% 0.215 288.2)
XYZxyz(20.9740, 12.4955, 68.3108)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45DB #B5DB45
analogous
#456ADB #6B45DB #B645DB
triadic
#6B45DB #DB6B45 #45DB6B
tetradic
#6B45DB #DB456A #B5DB45 #45DBB6
square
#6B45DB #DB456A #B5DB45 #45DBB6
split-complementary
#6B45DB #DBB645 #6ADB45
monochromatic
#371B8B #4C25BE #6B45DB #9478E5 #BDACEF

Accessibility & contrast

On white

6.00
#6B45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6B45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45DB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45DB#FFFFFF#000000##FFFFFF
##6B45DB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#416B8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b45db;
/* rgb */ color: rgb(107, 69, 219);
/* oklch */ color: oklch(52.3% 0.215 288.2);
Tailwind
colors: {
  custom: {
    50: '#9f7ce7',
    500: '#6b45db',
    950: '#000000',
  },
}
SCSS
$custom: #6b45db;
$custom-light: #9f7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45db",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 255.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.2153,
    "h": 288.2
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#6B45DB
secondary
#CDDD9F
accent
#EA3DBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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