#831274#831274

#831274 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.176 H 334.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#831274
RGBrgb(131, 18, 116)
HSLhsl(308, 76%, 29%)
HSVhsv(308, 86%, 51%)
CMYKcmyk(0%, 86.3%, 11.5%, 48.6%)
CIE-LABlab(30.69, 54.57, -27.42)
CIE-LCHlch(30.69, 61.07, 333.32°)
OKLaboklab(42.6% 0.1593 -0.0752)
OKLCHoklch(42.6% 0.176 334.7)
XYZxyz(12.7289, 6.5201, 17.1077)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831274 #128321
analogous
#5A1283 #831274 #83123B
triadic
#831274 #748312 #127483
tetradic
#831274 #835A12 #128321 #123B83
square
#831274 #835A12 #128321 #123B83
split-complementary
#831274 #3B8312 #12835A
monochromatic
#1B0418 #4D0B44 #831274 #B919A4 #E22DCA

Accessibility & contrast

On white

9.12
#831274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831274
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831274#FFFFFF#000000##FFFFFF
##8312741.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103E76
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#8A1F44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831274;
/* rgb */ color: rgb(131, 18, 116);
/* oklch */ color: oklch(42.6% 0.176 334.7);
Tailwind
colors: {
  custom: {
    50: '#ab619c',
    500: '#831274',
    950: '#000000',
  },
}
SCSS
$custom: #831274;
$custom-light: #ab619c;
$custom-dark: #000000;
JSON
{
  "hex": "#831274",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 307.965,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.17614,
    "h": 334.7
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#831274
secondary
#38B849
accent
#F24E35
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831274

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

Preview Lab → · Contrast checker → · Palette generator →

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