#612796#612796

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

Color values

HEX#612796
RGBrgb(97, 39, 150)
HSLhsl(271, 59%, 37%)
HSVhsv(271, 74%, 59%)
CMYKcmyk(35.3%, 74%, 0%, 41.2%)
CIE-LABlab(29.90, 47.00, -50.22)
CIE-LCHlch(29.90, 68.78, 313.10°)
OKLaboklab(41.67% 0.0946 -0.143)
OKLCHoklch(41.67% 0.171 303.5)
XYZxyz(11.1590, 6.1944, 29.4560)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612796 #5C9627
analogous
#292796 #612796 #962794
triadic
#612796 #966127 #279661
tetradic
#612796 #962927 #5C9627 #279496
square
#612796 #962927 #5C9627 #279496
split-complementary
#612796 #949627 #279629
monochromatic
#220E35 #421A65 #612796 #8034C7 #9E61D6

Accessibility & contrast

On white

9.38
#612796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#612796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612796
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612796#FFFFFF#000000##FFFFFF
##6127961.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#56425C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #612796;
/* rgb */ color: rgb(97, 39, 150);
/* oklch */ color: oklch(41.7% 0.171 303.5);
Tailwind
colors: {
  custom: {
    50: '#9367b6',
    500: '#612796',
    950: '#000000',
  },
}
SCSS
$custom: #612796;
$custom-light: #9367b6;
$custom-dark: #000000;
JSON
{
  "hex": "#612796",
  "rgb": {
    "r": 97,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 271.351,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41667,
    "c": 0.17145,
    "h": 303.5
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#612796
secondary
#8ABC5D
accent
#E24690
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612796

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

Preview Lab → · Contrast checker → · Palette generator →

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