#712282#712282

#712282 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.163 H 319.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#712282
RGBrgb(113, 34, 130)
HSLhsl(289, 59%, 32%)
HSVhsv(289, 74%, 51%)
CMYKcmyk(13.1%, 73.8%, 0%, 49%)
CIE-LABlab(30.08, 48.05, -37.42)
CIE-LCHlch(30.08, 60.91, 322.09°)
OKLaboklab(41.83% 0.1245 -0.1048)
OKLCHoklch(41.83% 0.163 319.9)
XYZxyz(11.4108, 6.2670, 21.7234)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712282 #338222
analogous
#412282 #712282 #822263
triadic
#712282 #827122 #228271
tetradic
#712282 #824122 #338222 #226382
square
#712282 #824122 #338222 #226382
split-complementary
#712282 #638222 #228241
monochromatic
#1D0921 #471551 #712282 #9B2FB3 #B94ED1

Accessibility & contrast

On white

9.32
#712282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#712282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712282
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712282#FFFFFF#000000##FFFFFF
##7122821.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#2A4A80
Tritanopia (blue-blind)
#713450
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712282;
/* rgb */ color: rgb(113, 34, 130);
/* oklch */ color: oklch(41.8% 0.163 319.9);
Tailwind
colors: {
  custom: {
    50: '#9d65a7',
    500: '#712282',
    950: '#000000',
  },
}
SCSS
$custom: #712282;
$custom-light: #9d65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#712282",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 289.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.16279,
    "h": 319.9
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#712282
secondary
#5EB44C
accent
#E24662
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #712282

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

Preview Lab → · Contrast checker → · Palette generator →

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