#612398#612398

#612398 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.178 H 303.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#612398
RGBrgb(97, 35, 152)
HSLhsl(272, 63%, 37%)
HSVhsv(272, 77%, 60%)
CMYKcmyk(36.2%, 77%, 0%, 40.4%)
CIE-LABlab(29.44, 49.25, -52.19)
CIE-LCHlch(29.44, 71.76, 313.34°)
OKLaboklab(41.39% 0.098 -0.1488)
OKLCHoklch(41.39% 0.178 303.4)
XYZxyz(11.1970, 6.0105, 30.2699)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612398 #5A9823
analogous
#272398 #612398 #982395
triadic
#612398 #986123 #239861
tetradic
#612398 #982723 #5A9823 #239598
square
#612398 #982723 #5A9823 #239598
split-complementary
#612398 #959823 #239827
monochromatic
#220C35 #411866 #612398 #812ECA #9E5CD9

Accessibility & contrast

On white

9.54
#612398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#612398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612398
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612398#FFFFFF#000000##FFFFFF
##6123981.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #612398;
/* rgb */ color: rgb(97, 35, 152);
/* oklch */ color: oklch(41.4% 0.178 303.4);
Tailwind
colors: {
  custom: {
    50: '#9365b7',
    500: '#612398',
    950: '#000000',
  },
}
SCSS
$custom: #612398;
$custom-light: #9365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#612398",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 271.795,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.17814,
    "h": 303.4
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#612398
secondary
#88BE59
accent
#E6428F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #612398

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

Preview Lab → · Contrast checker → · Palette generator →

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