#612998#612998

#612998 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.171 H 302.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#612998
RGBrgb(97, 41, 152)
HSLhsl(270, 58%, 38%)
HSVhsv(270, 73%, 60%)
CMYKcmyk(36.2%, 73%, 0%, 40.4%)
CIE-LABlab(30.39, 46.56, -50.65)
CIE-LCHlch(30.39, 68.80, 312.59°)
OKLaboklab(42.06% 0.0922 -0.1443)
OKLCHoklch(42.06% 0.171 302.6)
XYZxyz(11.3889, 6.3942, 30.3339)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612998 #609829
analogous
#292998 #612998 #982997
triadic
#612998 #986129 #299861
tetradic
#612998 #982929 #609829 #299798
square
#612998 #982929 #609829 #299798
split-complementary
#612998 #979829 #299829
monochromatic
#230F38 #421C68 #612998 #8036C8 #9E66D6

Accessibility & contrast

On white

9.22
#612998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#612998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612998
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612998#FFFFFF#000000##FFFFFF
##6129981.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#56445E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #612998;
/* rgb */ color: rgb(97, 41, 152);
/* oklch */ color: oklch(42.1% 0.171 302.6);
Tailwind
colors: {
  custom: {
    50: '#9368b7',
    500: '#612998',
    950: '#000000',
  },
}
SCSS
$custom: #612998;
$custom-light: #9368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#612998",
  "rgb": {
    "r": 97,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 270.27,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42063,
    "c": 0.17121,
    "h": 302.6
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #612998

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

Preview Lab → · Contrast checker → · Palette generator →

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