#712398#712398

#712398 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.182 H 311.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#712398
RGBrgb(113, 35, 152)
HSLhsl(280, 63%, 37%)
HSVhsv(280, 77%, 60%)
CMYKcmyk(25.7%, 77%, 0%, 40.4%)
CIE-LABlab(31.76, 52.26, -48.31)
CIE-LCHlch(31.76, 71.17, 317.25°)
OKLaboklab(43.52% 0.1206 -0.1368)
OKLCHoklch(43.52% 0.182 311.4)
XYZxyz(13.0775, 6.9801, 30.3581)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712398 #4A9823
analogous
#372398 #712398 #982385
triadic
#712398 #987123 #239871
tetradic
#712398 #983723 #4A9823 #238598
square
#712398 #983723 #4A9823 #238598
split-complementary
#712398 #859823 #239837
monochromatic
#270C35 #4C1866 #712398 #962ECA #B05CD9

Accessibility & contrast

On white

8.76
#712398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#712398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712398
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712398#FFFFFF#000000##FFFFFF
##7123981.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#0C4C96
Tritanopia (blue-blind)
#6C3F5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712398;
/* rgb */ color: rgb(113, 35, 152);
/* oklch */ color: oklch(43.5% 0.182 311.4);
Tailwind
colors: {
  custom: {
    50: '#9e67b7',
    500: '#712398',
    950: '#000000',
  },
}
SCSS
$custom: #712398;
$custom-light: #9e67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#712398",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 280,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.18239,
    "h": 311.4
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#712398
secondary
#7BBE59
accent
#E64279
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #712398

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

Preview Lab → · Contrast checker → · Palette generator →

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