#612298#612298

#612298 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.179 H 303.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#612298
RGBrgb(97, 34, 152)
HSLhsl(272, 63%, 36%)
HSVhsv(272, 78%, 60%)
CMYKcmyk(36.2%, 77.6%, 0%, 40.4%)
CIE-LABlab(29.29, 49.67, -52.43)
CIE-LCHlch(29.29, 72.22, 313.45°)
OKLaboklab(41.29% 0.0989 -0.1495)
OKLCHoklch(41.29% 0.179 303.5)
XYZxyz(11.1680, 5.9525, 30.2603)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612298 #599822
analogous
#262298 #612298 #982294
triadic
#612298 #986122 #229861
tetradic
#612298 #982622 #599822 #229498
square
#612298 #982622 #599822 #229498
split-complementary
#612298 #949822 #229826
monochromatic
#210C34 #411766 #612298 #812DCA #9F5ADA

Accessibility & contrast

On white

9.59
#612298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#612298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612298
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612298#FFFFFF#000000##FFFFFF
##6122981.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#56405C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #612298;
/* rgb */ color: rgb(97, 34, 152);
/* oklch */ color: oklch(41.3% 0.179 303.5);
Tailwind
colors: {
  custom: {
    50: '#9364b7',
    500: '#612298',
    950: '#000000',
  },
}
SCSS
$custom: #612298;
$custom-light: #9364b7;
$custom-dark: #000000;
JSON
{
  "hex": "#612298",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 272.034,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.17922,
    "h": 303.5
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#612298
secondary
#87BE57
accent
#E6418E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612298

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

Preview Lab → · Contrast checker → · Palette generator →

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