#612797#612797

#612797 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.173 H 303.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#612797
RGBrgb(97, 39, 151)
HSLhsl(271, 59%, 37%)
HSVhsv(271, 74%, 59%)
CMYKcmyk(35.8%, 74.2%, 0%, 40.8%)
CIE-LABlab(29.98, 47.24, -50.70)
CIE-LCHlch(29.98, 69.30, 312.98°)
OKLaboklab(41.75% 0.0944 -0.1444)
OKLCHoklch(41.75% 0.173 303.2)
XYZxyz(11.2399, 6.2268, 29.8819)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612797 #5D9727
analogous
#292797 #612797 #972795
triadic
#612797 #976127 #279761
tetradic
#612797 #972927 #5D9727 #279597
square
#612797 #972927 #5D9727 #279597
split-complementary
#612797 #959727 #279729
monochromatic
#230E36 #421A66 #612797 #8034C8 #9E62D6

Accessibility & contrast

On white

9.35
#612797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#612797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612797
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612797#FFFFFF#000000##FFFFFF
##6127971.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#56425D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #612797;
/* rgb */ color: rgb(97, 39, 151);
/* oklch */ color: oklch(41.7% 0.173 303.2);
Tailwind
colors: {
  custom: {
    50: '#9367b6',
    500: '#612797',
    950: '#000000',
  },
}
SCSS
$custom: #612797;
$custom-light: #9367b6;
$custom-dark: #000000;
JSON
{
  "hex": "#612797",
  "rgb": {
    "r": 97,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 271.071,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.17253,
    "h": 303.2
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#612797
secondary
#8BBC5E
accent
#E24691
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612797

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

Preview Lab → · Contrast checker → · Palette generator →

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