#612997#612997

#612997 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.170 H 302.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#612997
RGBrgb(97, 41, 151)
HSLhsl(271, 57%, 38%)
HSVhsv(271, 73%, 59%)
CMYKcmyk(35.8%, 72.8%, 0%, 40.8%)
CIE-LABlab(30.31, 46.31, -50.16)
CIE-LCHlch(30.31, 68.27, 312.71°)
OKLaboklab(41.98% 0.0924 -0.1429)
OKLCHoklch(41.98% 0.17 302.9)
XYZxyz(11.3073, 6.3616, 29.9044)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612997 #5F9729
analogous
#2A2997 #612997 #972996
triadic
#612997 #976129 #299761
tetradic
#612997 #972A29 #5F9729 #299697
square
#612997 #972A29 #5F9729 #299697
split-complementary
#612997 #969729 #29972A
monochromatic
#230F37 #421C67 #612997 #8036C7 #9E65D5

Accessibility & contrast

On white

9.24
#612997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#612997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612997
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612997#FFFFFF#000000##FFFFFF
##6129971.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#56435D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #612997;
/* rgb */ color: rgb(97, 41, 151);
/* oklch */ color: oklch(42.0% 0.170 302.9);
Tailwind
colors: {
  custom: {
    50: '#9368b6',
    500: '#612997',
    950: '#000000',
  },
}
SCSS
$custom: #612997;
$custom-light: #9368b6;
$custom-dark: #000000;
JSON
{
  "hex": "#612997",
  "rgb": {
    "r": 97,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 270.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.17012,
    "h": 302.9
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#612997
secondary
#8DBB61
accent
#E14793
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612997

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

Preview Lab → · Contrast checker → · Palette generator →

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