#712285#712285

#712285 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.166 H 318.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#712285
RGBrgb(113, 34, 133)
HSLhsl(288, 59%, 33%)
HSVhsv(288, 74%, 52%)
CMYKcmyk(15%, 74.4%, 0%, 47.8%)
CIE-LABlab(30.28, 48.66, -38.98)
CIE-LCHlch(30.28, 62.34, 321.30°)
OKLaboklab(42.04% 0.1243 -0.1094)
OKLCHoklch(42.04% 0.166 318.6)
XYZxyz(11.6151, 6.3488, 22.7994)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712285 #368522
analogous
#402285 #712285 #852267
triadic
#712285 #857122 #228571
tetradic
#712285 #854022 #368522 #226785
square
#712285 #854022 #368522 #226785
split-complementary
#712285 #678522 #228540
monochromatic
#1E0924 #481654 #712285 #9A2EB6 #B84FD2

Accessibility & contrast

On white

9.25
#712285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712285
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712285#FFFFFF#000000##FFFFFF
##7122851.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#713651
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712285;
/* rgb */ color: rgb(113, 34, 133);
/* oklch */ color: oklch(42.0% 0.166 318.6);
Tailwind
colors: {
  custom: {
    50: '#9d65a9',
    500: '#712285',
    950: '#000000',
  },
}
SCSS
$custom: #712285;
$custom-light: #9d65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#712285",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 287.879,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.16557,
    "h": 318.6
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#712285
secondary
#62B64D
accent
#E24565
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712285

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

Preview Lab → · Contrast checker → · Palette generator →

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