#612786#612786

#612786 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.154 H 309.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#612786
RGBrgb(97, 39, 134)
HSLhsl(277, 55%, 34%)
HSVhsv(277, 71%, 53%)
CMYKcmyk(27.6%, 70.9%, 0%, 47.5%)
CIE-LABlab(28.68, 43.13, -42.30)
CIE-LCHlch(28.68, 60.41, 315.56°)
OKLaboklab(40.42% 0.0972 -0.1197)
OKLCHoklch(40.42% 0.154 309.1)
XYZxyz(9.9575, 5.7138, 23.1280)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612786 #4C8627
analogous
#322786 #612786 #86277C
triadic
#612786 #866127 #278661
tetradic
#612786 #863227 #4C8627 #277C86
square
#612786 #863227 #4C8627 #277C86
split-complementary
#612786 #7C8627 #278632
monochromatic
#1C0B27 #3F1957 #612786 #8335B5 #A159CF

Accessibility & contrast

On white

9.80
#612786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#612786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612786
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612786#FFFFFF#000000##FFFFFF
##6127861.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#144484
Tritanopia (blue-blind)
#5C3C53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #612786;
/* rgb */ color: rgb(97, 39, 134);
/* oklch */ color: oklch(40.4% 0.154 309.1);
Tailwind
colors: {
  custom: {
    50: '#9266aa',
    500: '#612786',
    950: '#000000',
  },
}
SCSS
$custom: #612786;
$custom-light: #9266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#612786",
  "rgb": {
    "r": 97,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 276.632,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.1542,
    "h": 309.1
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#612786
secondary
#7AB455
accent
#DE4A83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #612786

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

Preview Lab → · Contrast checker → · Palette generator →

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