#6A45DB#6A45DB

#6A45DB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.215 H 287.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6A45DB
RGBrgb(106, 69, 219)
HSLhsl(255, 68%, 56%)
HSVhsv(255, 68%, 86%)
CMYKcmyk(51.6%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.90, 52.01, -71.39)
CIE-LCHlch(41.90, 88.32, 306.08°)
OKLaboklab(52.18% 0.0659 -0.205)
OKLCHoklch(52.18% 0.215 287.8)
XYZxyz(20.8544, 12.4339, 68.3052)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45DB #B6DB45
analogous
#456BDB #6A45DB #B545DB
triadic
#6A45DB #DB6A45 #45DB6A
tetradic
#6A45DB #DB456B #B6DB45 #45DBB5
square
#6A45DB #DB456B #B6DB45 #45DBB5
split-complementary
#6A45DB #DBB545 #6BDB45
monochromatic
#361B8B #4B25BE #6A45DB #9378E5 #BCACEF

Accessibility & contrast

On white

6.02
#6A45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6A45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45DB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45DB#FFFFFF#000000##FFFFFF
##6A45DB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a45db;
/* rgb */ color: rgb(106, 69, 219);
/* oklch */ color: oklch(52.2% 0.215 287.8);
Tailwind
colors: {
  custom: {
    50: '#9f7be7',
    500: '#6a45db',
    950: '#000000',
  },
}
SCSS
$custom: #6a45db;
$custom-light: #9f7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45db",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 254.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.21535,
    "h": 287.8
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#6A45DB
secondary
#CEDD9F
accent
#EA3DC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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