#612A8A#612A8A

#612A8A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.154 H 307.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#612A8A
RGBrgb(97, 42, 138)
HSLhsl(274, 53%, 35%)
HSVhsv(274, 70%, 54%)
CMYKcmyk(29.7%, 69.6%, 0%, 45.9%)
CIE-LABlab(29.49, 42.63, -43.47)
CIE-LCHlch(29.49, 60.88, 314.44°)
OKLaboklab(41.09% 0.0932 -0.1232)
OKLCHoklch(41.09% 0.155 307.1)
XYZxyz(10.3442, 6.0324, 24.6593)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612A8A #538A2A
analogous
#312A8A #612A8A #8A2A83
triadic
#612A8A #8A612A #2A8A61
tetradic
#612A8A #8A312A #538A2A #2A838A
square
#612A8A #8A312A #538A2A #2A838A
split-complementary
#612A8A #838A2A #2A8A31
monochromatic
#1F0D2C #401C5B #612A8A #8238B9 #9F60CF

Accessibility & contrast

On white

9.52
#612A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#612A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612A8A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612A8A#FFFFFF#000000##FFFFFF
##612A8A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#5A3F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #612a8a;
/* rgb */ color: rgb(97, 42, 138);
/* oklch */ color: oklch(41.1% 0.154 307.1);
Tailwind
colors: {
  custom: {
    50: '#9268ad',
    500: '#612a8a',
    950: '#000000',
  },
}
SCSS
$custom: #612a8a;
$custom-light: #9268ad;
$custom-dark: #000000;
JSON
{
  "hex": "#612a8a",
  "rgb": {
    "r": 97,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 274.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41091,
    "c": 0.1545,
    "h": 307.1
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#612A8A
secondary
#81B45B
accent
#DD4B89
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #612A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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