#6E45A2#6E45A2

#6E45A2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.3% C 0.146 H 301.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6E45A2
RGBrgb(110, 69, 162)
HSLhsl(266, 40%, 45%)
HSVhsv(266, 57%, 64%)
CMYKcmyk(32.1%, 57.4%, 0%, 36.5%)
CIE-LABlab(38.16, 37.21, -44.07)
CIE-LCHlch(38.16, 57.68, 310.18°)
OKLaboklab(48.26% 0.0763 -0.1246)
OKLCHoklch(48.26% 0.146 301.5)
XYZxyz(15.0786, 10.1798, 35.3459)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45A2 #79A245
analogous
#454AA2 #6E45A2 #9D45A2
triadic
#6E45A2 #A26E45 #45A26E
tetradic
#6E45A2 #A2454A #79A245 #45A29D
square
#6E45A2 #A2454A #79A245 #45A29D
split-complementary
#6E45A2 #A29D45 #4AA245
monochromatic
#34204C #513377 #6E45A2 #8D66BE #AD91D0

Accessibility & contrast

On white

6.92
#6E45A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6E45A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45A2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45A2#FFFFFF#000000##FFFFFF
##6E45A21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#64586D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e45a2;
/* rgb */ color: rgb(110, 69, 162);
/* oklch */ color: oklch(48.3% 0.146 301.5);
Tailwind
colors: {
  custom: {
    50: '#9b7abe',
    500: '#6e45a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e45a2;
$custom-light: #9b7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45a2",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 266.452,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.14612,
    "h": 301.5
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#6E45A2
secondary
#A5BC87
accent
#D0589B
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6E45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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