#74279B#74279B

#74279B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.182 H 311.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#74279B
RGBrgb(116, 39, 155)
HSLhsl(280, 60%, 38%)
HSVhsv(280, 75%, 61%)
CMYKcmyk(25.2%, 74.8%, 0%, 39.2%)
CIE-LABlab(32.99, 51.92, -48.14)
CIE-LCHlch(32.99, 70.80, 317.17°)
OKLaboklab(44.54% 0.1204 -0.1362)
OKLCHoklch(44.54% 0.182 311.5)
XYZxyz(13.8433, 7.5310, 31.7284)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74279B #4E9B27
analogous
#3A279B #74279B #9B2788
triadic
#74279B #9B7427 #279B74
tetradic
#74279B #9B3A27 #4E9B27 #27889B
square
#74279B #9B3A27 #4E9B27 #27889B
split-complementary
#74279B #889B27 #279B3A
monochromatic
#2B0E39 #4F1B6A #74279B #9933CC #B164D8

Accessibility & contrast

On white

8.38
#74279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#74279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74279B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74279B#FFFFFF#000000##FFFFFF
##74279B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#144F99
Tritanopia (blue-blind)
#6F415F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #74279b;
/* rgb */ color: rgb(116, 39, 155);
/* oklch */ color: oklch(44.5% 0.182 311.5);
Tailwind
colors: {
  custom: {
    50: '#a069b9',
    500: '#74279b',
    950: '#000000',
  },
}
SCSS
$custom: #74279b;
$custom-light: #a069b9;
$custom-dark: #000000;
JSON
{
  "hex": "#74279b",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 279.828,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.18177,
    "h": 311.5
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#74279B
secondary
#80BE60
accent
#E3457A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #74279B

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

Preview Lab → · Contrast checker → · Palette generator →

#74279B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva