#612898#612898

#612898 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.172 H 302.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#612898
RGBrgb(97, 40, 152)
HSLhsl(271, 58%, 38%)
HSVhsv(271, 74%, 60%)
CMYKcmyk(36.2%, 73.7%, 0%, 40.4%)
CIE-LABlab(30.22, 47.03, -50.92)
CIE-LCHlch(30.22, 69.31, 312.73°)
OKLaboklab(41.95% 0.0932 -0.1451)
OKLCHoklch(41.95% 0.172 302.7)
XYZxyz(11.3547, 6.3260, 30.3225)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612898 #5F9828
analogous
#292898 #612898 #982897
triadic
#612898 #986128 #289861
tetradic
#612898 #982928 #5F9828 #289798
square
#612898 #982928 #5F9828 #289798
split-complementary
#612898 #979828 #289829
monochromatic
#230F37 #421B68 #612898 #8035C8 #9E64D6

Accessibility & contrast

On white

9.27
#612898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#612898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612898
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612898#FFFFFF#000000##FFFFFF
##6128981.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #612898;
/* rgb */ color: rgb(97, 40, 152);
/* oklch */ color: oklch(41.9% 0.172 302.7);
Tailwind
colors: {
  custom: {
    50: '#9367b7',
    500: '#612898',
    950: '#000000',
  },
}
SCSS
$custom: #612898;
$custom-light: #9367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#612898",
  "rgb": {
    "r": 97,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 270.536,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.17241,
    "h": 302.7
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#612898
secondary
#8DBC60
accent
#E24693
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612898

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

Preview Lab → · Contrast checker → · Palette generator →

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