#612A98#612A98

#612A98 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.170 H 302.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#612A98
RGBrgb(97, 42, 152)
HSLhsl(270, 57%, 38%)
HSVhsv(270, 72%, 60%)
CMYKcmyk(36.2%, 72.4%, 0%, 40.4%)
CIE-LABlab(30.55, 46.09, -50.37)
CIE-LCHlch(30.55, 68.27, 312.45°)
OKLaboklab(42.18% 0.0912 -0.1435)
OKLCHoklch(42.18% 0.17 302.4)
XYZxyz(11.4239, 6.4643, 30.3456)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612A98 #61982A
analogous
#2A2A98 #612A98 #982A98
triadic
#612A98 #98612A #2A9861
tetradic
#612A98 #982A2A #61982A #2A9898
square
#612A98 #982A2A #61982A #2A9898
split-complementary
#612A98 #98982A #2A982A
monochromatic
#241038 #421D68 #612A98 #8037C8 #9E67D5

Accessibility & contrast

On white

9.16
#612A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#612A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612A98
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612A98#FFFFFF#000000##FFFFFF
##612A981.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #612a98;
/* rgb */ color: rgb(97, 42, 152);
/* oklch */ color: oklch(42.2% 0.170 302.4);
Tailwind
colors: {
  custom: {
    50: '#9368b7',
    500: '#612a98',
    950: '#000000',
  },
}
SCSS
$custom: #612a98;
$custom-light: #9368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#612a98",
  "rgb": {
    "r": 97,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 270,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.16998,
    "h": 302.4
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#612A98
secondary
#8FBB62
accent
#E04894
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612A98

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

Preview Lab → · Contrast checker → · Palette generator →

#612A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva