#74267B#74267B

#74267B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.153 H 324.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#74267B
RGBrgb(116, 38, 123)
HSLhsl(295, 53%, 32%)
HSVhsv(295, 69%, 48%)
CMYKcmyk(5.7%, 69.1%, 0%, 51.8%)
CIE-LABlab(30.71, 45.74, -31.99)
CIE-LCHlch(30.71, 55.82, 325.04°)
OKLaboklab(42.24% 0.124 -0.0889)
OKLCHoklch(42.24% 0.153 324.4)
XYZxyz(11.4704, 6.5300, 19.3913)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74267B #2D7B26
analogous
#4A267B #74267B #7B2658
triadic
#74267B #7B7426 #267B74
tetradic
#74267B #7B4A26 #2D7B26 #26587B
square
#74267B #7B4A26 #2D7B26 #26587B
split-complementary
#74267B #587B26 #267B4A
monochromatic
#1C091D #48184C #74267B #A034AA #C052CA

Accessibility & contrast

On white

9.11
#74267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#74267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74267B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74267B#FFFFFF#000000##FFFFFF
##74267B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427D
Deuteranopia (green-blind)
#354C79
Tritanopia (blue-blind)
#76334D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #74267b;
/* rgb */ color: rgb(116, 38, 123);
/* oklch */ color: oklch(42.2% 0.153 324.4);
Tailwind
colors: {
  custom: {
    50: '#9f67a1',
    500: '#74267b',
    950: '#000000',
  },
}
SCSS
$custom: #74267b;
$custom-light: #9f67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74267b",
  "rgb": {
    "r": 116,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 295.059,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42242,
    "c": 0.1526,
    "h": 324.4
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#74267B
secondary
#57AD50
accent
#DC4C58
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74267B

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

Preview Lab → · Contrast checker → · Palette generator →

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