#612787#612787

#612787 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.155 H 308.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#612787
RGBrgb(97, 39, 135)
HSLhsl(276, 55%, 34%)
HSVhsv(276, 71%, 53%)
CMYKcmyk(28.1%, 71.1%, 0%, 47.1%)
CIE-LABlab(28.75, 43.36, -42.80)
CIE-LCHlch(28.75, 60.93, 315.37°)
OKLaboklab(40.49% 0.097 -0.1212)
OKLCHoklch(40.49% 0.155 308.7)
XYZxyz(10.0276, 5.7419, 23.4970)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612787 #4D8727
analogous
#312787 #612787 #87277D
triadic
#612787 #876127 #278761
tetradic
#612787 #873127 #4D8727 #277D87
square
#612787 #873127 #4D8727 #277D87
split-complementary
#612787 #7D8727 #278731
monochromatic
#1D0C28 #3F1958 #612787 #8335B6 #A059CF

Accessibility & contrast

On white

9.77
#612787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#612787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612787
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612787#FFFFFF#000000##FFFFFF
##6127871.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#124485
Tritanopia (blue-blind)
#5B3C54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #612787;
/* rgb */ color: rgb(97, 39, 135);
/* oklch */ color: oklch(40.5% 0.155 308.7);
Tailwind
colors: {
  custom: {
    50: '#9266ab',
    500: '#612787',
    950: '#000000',
  },
}
SCSS
$custom: #612787;
$custom-light: #9266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#612787",
  "rgb": {
    "r": 97,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 276.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.15527,
    "h": 308.7
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#612787
secondary
#7BB456
accent
#DF4984
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #612787

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

Preview Lab → · Contrast checker → · Palette generator →

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