#612798#612798

#612798 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.174 H 302.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#612798
RGBrgb(97, 39, 152)
HSLhsl(271, 59%, 37%)
HSVhsv(271, 74%, 60%)
CMYKcmyk(36.2%, 74.3%, 0%, 40.4%)
CIE-LABlab(30.06, 47.49, -51.18)
CIE-LCHlch(30.06, 69.82, 312.86°)
OKLaboklab(41.83% 0.0942 -0.1458)
OKLCHoklch(41.83% 0.174 302.9)
XYZxyz(11.3214, 6.2594, 30.3114)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612798 #5E9827
analogous
#282798 #612798 #982797
triadic
#612798 #986127 #279861
tetradic
#612798 #982827 #5E9827 #279798
square
#612798 #982827 #5E9827 #279798
split-complementary
#612798 #979827 #279828
monochromatic
#230E37 #421B67 #612798 #8033C9 #9E63D7

Accessibility & contrast

On white

9.33
#612798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #612798
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612798#FFFFFF#000000##FFFFFF
##6127981.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #612798;
/* rgb */ color: rgb(97, 39, 152);
/* oklch */ color: oklch(41.8% 0.174 302.9);
Tailwind
colors: {
  custom: {
    50: '#9367b7',
    500: '#612798',
    950: '#000000',
  },
}
SCSS
$custom: #612798;
$custom-light: #9367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#612798",
  "rgb": {
    "r": 97,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 270.796,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.1736,
    "h": 302.9
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#612798
secondary
#8CBC5E
accent
#E24592
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612798

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

Preview Lab → · Contrast checker → · Palette generator →

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