#6B45CA#6B45CA

#6B45CA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.195 H 291.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6B45CA
RGBrgb(107, 69, 202)
HSLhsl(257, 56%, 53%)
HSVhsv(257, 66%, 79%)
CMYKcmyk(47%, 65.8%, 0%, 20.8%)
CIE-LABlab(40.65, 47.41, -63.63)
CIE-LCHlch(40.65, 79.35, 306.69°)
OKLaboklab(50.89% 0.0698 -0.1822)
OKLCHoklch(50.89% 0.195 291)
XYZxyz(18.8492, 11.6456, 57.1203)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45CA #A4CA45
analogous
#4561CA #6B45CA #AE45CA
triadic
#6B45CA #CA6B45 #45CA6B
tetradic
#6B45CA #CA4561 #A4CA45 #45CAAE
square
#6B45CA #CA4561 #A4CA45 #45CAAE
split-complementary
#6B45CA #CAAE45 #61CA45
monochromatic
#392174 #502FA3 #6B45CA #9175D8 #B7A4E5

Accessibility & contrast

On white

6.31
#6B45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6B45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45CA#FFFFFF#000000##FFFFFF
##6B45CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#4D6581
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b45ca;
/* rgb */ color: rgb(107, 69, 202);
/* oklch */ color: oklch(50.9% 0.195 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d7bdb',
    500: '#6b45ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b45ca;
$custom-light: #9d7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45ca",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 257.143,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.19513,
    "h": 291
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#6B45CA
secondary
#C2D299
accent
#DF49B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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