#6B45E0#6B45E0

#6B45E0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.221 H 287.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6B45E0
RGBrgb(107, 69, 224)
HSLhsl(255, 71%, 57%)
HSVhsv(255, 69%, 88%)
CMYKcmyk(52.2%, 69.2%, 0%, 12.2%)
CIE-LABlab(42.40, 53.58, -73.41)
CIE-LCHlch(42.40, 90.88, 306.13°)
OKLaboklab(52.69% 0.0664 -0.2109)
OKLCHoklch(52.69% 0.221 287.5)
XYZxyz(21.6421, 12.7628, 71.8297)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45E0 #BAE045
analogous
#456CE0 #6B45E0 #B945E0
triadic
#6B45E0 #E06B45 #45E06B
tetradic
#6B45E0 #E0456C #BAE045 #45E0B9
square
#6B45E0 #E0456C #BAE045 #45E0B9
split-complementary
#6B45E0 #E0B945 #6CE045
monochromatic
#361892 #4A21C7 #6B45E0 #9579E9 #BEAEF1

Accessibility & contrast

On white

5.91
#6B45E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6B45E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45E0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45E0#FFFFFF#000000##FFFFFF
##6B45E01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#3D6D8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b45e0;
/* rgb */ color: rgb(107, 69, 224);
/* oklch */ color: oklch(52.7% 0.221 287.5);
Tailwind
colors: {
  custom: {
    50: '#a07ceb',
    500: '#6b45e0',
    950: '#000000',
  },
}
SCSS
$custom: #6b45e0;
$custom-light: #a07ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45e0",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 254.71,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.22114,
    "h": 287.5
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#6B45E0
secondary
#D0E0A1
accent
#EE3AC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B45E0

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

Preview Lab → · Contrast checker → · Palette generator →

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