#6B45DF#6B45DF

#6B45DF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.220 H 287.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6B45DF
RGBrgb(107, 69, 223)
HSLhsl(255, 71%, 57%)
HSVhsv(255, 69%, 87%)
CMYKcmyk(52%, 69.1%, 0%, 12.5%)
CIE-LABlab(42.32, 53.30, -72.97)
CIE-LCHlch(42.32, 90.37, 306.14°)
OKLaboklab(52.61% 0.0666 -0.2096)
OKLCHoklch(52.61% 0.22 287.6)
XYZxyz(21.5069, 12.7087, 71.1175)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B45DF #B9DF45
analogous
#456CDF #6B45DF #B845DF
triadic
#6B45DF #DF6B45 #45DF6B
tetradic
#6B45DF #DF456C #B9DF45 #45DFB8
square
#6B45DF #DF456C #B9DF45 #45DFB8
split-complementary
#6B45DF #DFB845 #6CDF45
monochromatic
#361991 #4A22C5 #6B45DF #9579E8 #BEADF1

Accessibility & contrast

On white

5.93
#6B45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6B45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B45DF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B45DF#FFFFFF#000000##FFFFFF
##6B45DF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#3E6D8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b45df;
/* rgb */ color: rgb(107, 69, 223);
/* oklch */ color: oklch(52.6% 0.220 287.6);
Tailwind
colors: {
  custom: {
    50: '#a07cea',
    500: '#6b45df',
    950: '#000000',
  },
}
SCSS
$custom: #6b45df;
$custom-light: #a07cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6b45df",
  "rgb": {
    "r": 107,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 254.805,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.21997,
    "h": 287.6
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#6B45DF
secondary
#D0DFA1
accent
#ED3AC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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