#612688#612688

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

Color values

HEX#612688
RGBrgb(97, 38, 136)
HSLhsl(276, 56%, 34%)
HSVhsv(276, 72%, 53%)
CMYKcmyk(28.7%, 72.1%, 0%, 46.7%)
CIE-LABlab(28.66, 44.07, -43.58)
CIE-LCHlch(28.66, 61.98, 315.32°)
OKLaboklab(40.45% 0.098 -0.1235)
OKLCHoklch(40.45% 0.158 308.4)
XYZxyz(10.0659, 5.7054, 23.8587)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612688 #4D8826
analogous
#302688 #612688 #88267E
triadic
#612688 #886126 #268861
tetradic
#612688 #883026 #4D8826 #267E88
square
#612688 #883026 #4D8826 #267E88
split-complementary
#612688 #7E8826 #268830
monochromatic
#1D0B28 #3F1958 #612688 #8333B8 #A058D0

Accessibility & contrast

On white

9.81
#612688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #612688
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612688#FFFFFF#000000##FFFFFF
##6126881.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#5B3C54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #612688;
/* rgb */ color: rgb(97, 38, 136);
/* oklch */ color: oklch(40.4% 0.158 308.4);
Tailwind
colors: {
  custom: {
    50: '#9266ab',
    500: '#612688',
    950: '#000000',
  },
}
SCSS
$custom: #612688;
$custom-light: #9266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#612688",
  "rgb": {
    "r": 97,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 276.122,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.15767,
    "h": 308.4
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#612688
secondary
#7BB555
accent
#E04884
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #612688

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

Preview Lab → · Contrast checker → · Palette generator →

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