#782274#782274

#782274 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.154 H 329.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#782274
RGBrgb(120, 34, 116)
HSLhsl(303, 56%, 30%)
HSVhsv(303, 72%, 47%)
CMYKcmyk(0%, 71.7%, 3.3%, 52.9%)
CIE-LABlab(30.40, 47.10, -28.02)
CIE-LCHlch(30.40, 54.80, 329.25°)
OKLaboklab(42.02% 0.1332 -0.0773)
OKLCHoklch(42.02% 0.154 329.9)
XYZxyz(11.4701, 6.3989, 17.1506)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782274 #227826
analogous
#512278 #782274 #782249
triadic
#782274 #747822 #227478
tetradic
#782274 #785122 #227826 #224978
square
#782274 #785122 #227826 #224978
split-complementary
#782274 #497822 #227851
monochromatic
#190718 #481446 #782274 #A830A2 #CB49C5

Accessibility & contrast

On white

9.21
#782274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#782274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782274
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782274#FFFFFF#000000##FFFFFF
##7822741.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#3A4C72
Tritanopia (blue-blind)
#7D2D48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782274;
/* rgb */ color: rgb(120, 34, 116);
/* oklch */ color: oklch(42.0% 0.154 329.9);
Tailwind
colors: {
  custom: {
    50: '#a2669c',
    500: '#782274',
    950: '#000000',
  },
}
SCSS
$custom: #782274;
$custom-light: #a2669c;
$custom-dark: #000000;
JSON
{
  "hex": "#782274",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 302.791,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.15397,
    "h": 329.9
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#782274
secondary
#4BAB4F
accent
#DF5049
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782274

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

Preview Lab → · Contrast checker → · Palette generator →

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