#7310A1#7310A1

#7310A1 is a dark, highly saturated purple. Relative luminance 0.066; OKLCH L 43.2% C 0.207 H 310.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7310A1
RGBrgb(115, 16, 161)
HSLhsl(281, 82%, 35%)
HSVhsv(281, 90%, 63%)
CMYKcmyk(28.6%, 90.1%, 0%, 36.9%)
CIE-LABlab(30.85, 60.13, -55.25)
CIE-LCHlch(30.85, 81.66, 317.42°)
OKLaboklab(43.17% 0.1345 -0.157)
OKLCHoklch(43.17% 0.207 310.6)
XYZxyz(13.6873, 6.5890, 34.2621)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7310A1 #3EA110
analogous
#2B10A1 #7310A1 #A11086
triadic
#7310A1 #A17310 #10A173
tetradic
#7310A1 #A12B10 #3EA110 #1086A1
square
#7310A1 #A12B10 #3EA110 #1086A1
split-complementary
#7310A1 #86A110 #10A12B
monochromatic
#230532 #4B0A69 #7310A1 #9B16D9 #B53FEC

Accessibility & contrast

On white

9.06
#7310A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7310A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7310A1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7310A1#FFFFFF#000000##FFFFFF
##7310A11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#6C3B5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7310a1;
/* rgb */ color: rgb(115, 16, 161);
/* oklch */ color: oklch(43.2% 0.207 310.6);
Tailwind
colors: {
  custom: {
    50: '#a161be',
    500: '#7310a1',
    950: '#000000',
  },
}
SCSS
$custom: #7310a1;
$custom-light: #a161be;
$custom-dark: #000000;
JSON
{
  "hex": "#7310a1",
  "rgb": {
    "r": 115,
    "g": 16,
    "b": 161
  },
  "hsl": {
    "h": 280.966,
    "s": 81.921,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43168,
    "c": 0.20672,
    "h": 310.6
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#7310A1
secondary
#6DCC41
accent
#F8306F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7310A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7310A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva