#7A307A#7A307A

#7A307A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.140 H 327.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7A307A
RGBrgb(122, 48, 122)
HSLhsl(300, 44%, 33%)
HSVhsv(300, 61%, 48%)
CMYKcmyk(0%, 60.7%, 0%, 52.2%)
CIE-LABlab(33.26, 42.59, -27.27)
CIE-LCHlch(33.26, 50.57, 327.37°)
OKLaboklab(44.26% 0.1186 -0.0752)
OKLCHoklch(44.26% 0.14 327.6)
XYZxyz(12.5957, 7.6574, 19.2232)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A307A #307A30
analogous
#55307A #7A307A #7A3055
triadic
#7A307A #7A7A30 #307A7A
tetradic
#7A307A #7A5530 #307A30 #30557A
square
#7A307A #7A5530 #307A30 #30557A
split-complementary
#7A307A #557A30 #307A55
monochromatic
#220D22 #4E1F4E #7A307A #A641A6 #C263C2

Accessibility & contrast

On white

8.30
#7A307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A307A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A307A#FFFFFF#000000##FFFFFF
##7A307A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#415278
Tritanopia (blue-blind)
#7E3950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a307a;
/* rgb */ color: rgb(122, 48, 122);
/* oklch */ color: oklch(44.3% 0.140 327.6);
Tailwind
colors: {
  custom: {
    50: '#a36da1',
    500: '#7a307a',
    950: '#000000',
  },
}
SCSS
$custom: #7a307a;
$custom-light: #a36da1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a307a",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.14039,
    "h": 327.6
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#7A307A
secondary
#5DA95D
accent
#D35555
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #7A307A

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

Preview Lab → · Contrast checker → · Palette generator →

#7A307A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva