#654091#654091

#654091 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.3% C 0.131 H 302.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#654091
RGBrgb(101, 64, 145)
HSLhsl(267, 39%, 41%)
HSVhsv(267, 56%, 57%)
CMYKcmyk(30.3%, 55.9%, 0%, 43.1%)
CIE-LABlab(34.96, 33.32, -38.97)
CIE-LCHlch(34.96, 51.28, 310.53°)
OKLaboklab(45.33% 0.0703 -0.1099)
OKLCHoklch(45.33% 0.131 302.6)
XYZxyz(12.3099, 8.4778, 27.7704)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654091 #6C9140
analogous
#404391 #654091 #8D4091
triadic
#654091 #916540 #409165
tetradic
#654091 #914043 #6C9140 #40918D
square
#654091 #914043 #6C9140 #40918D
split-complementary
#654091 #918D40 #439140
monochromatic
#2A1B3C #472D67 #654091 #8359B6 #A383C8

Accessibility & contrast

On white

7.79
#654091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#654091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654091
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654091#FFFFFF#000000##FFFFFF
##6540911.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225194
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#5D5062
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #654091;
/* rgb */ color: rgb(101, 64, 145);
/* oklch */ color: oklch(45.3% 0.131 302.6);
Tailwind
colors: {
  custom: {
    50: '#9476b2',
    500: '#654091',
    950: '#000000',
  },
}
SCSS
$custom: #654091;
$custom-light: #9476b2;
$custom-dark: #000000;
JSON
{
  "hex": "#654091",
  "rgb": {
    "r": 101,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 267.407,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.13051,
    "h": 302.6
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#654091
secondary
#99B37A
accent
#CF5999
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #654091

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

Preview Lab → · Contrast checker → · Palette generator →

#654091 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva