#74126B#74126B

#74126B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.162 H 332.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#74126B
RGBrgb(116, 18, 107)
HSLhsl(306, 73%, 26%)
HSVhsv(306, 84%, 45%)
CMYKcmyk(0%, 84.5%, 7.8%, 54.5%)
CIE-LABlab(27.32, 49.89, -27.17)
CIE-LCHlch(27.32, 56.81, 331.43°)
OKLaboklab(39.51% 0.1437 -0.0748)
OKLCHoklch(39.51% 0.162 332.5)
XYZxyz(10.0727, 5.2080, 14.3818)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74126B #12741B
analogous
#4C1274 #74126B #74123A
triadic
#74126B #6B7412 #126B74
tetradic
#74126B #744C12 #12741B #123A74
square
#74126B #744C12 #12741B #123A74
split-complementary
#74126B #3A7412 #12744C
monochromatic
#1A0418 #3F0A3A #74126B #A91A9C #DD23CC

Accessibility & contrast

On white

10.29
#74126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#74126B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74126B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74126B#FFFFFF#000000##FFFFFF
##74126B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386D
Deuteranopia (green-blind)
#354569
Tritanopia (blue-blind)
#791F3F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74126b;
/* rgb */ color: rgb(116, 18, 107);
/* oklch */ color: oklch(39.5% 0.162 332.5);
Tailwind
colors: {
  custom: {
    50: '#a05e96',
    500: '#74126b',
    950: '#000000',
  },
}
SCSS
$custom: #74126b;
$custom-light: #a05e96;
$custom-dark: #000000;
JSON
{
  "hex": "#74126b",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 305.51,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39505,
    "c": 0.16198,
    "h": 332.5
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#74126B
secondary
#37AB42
accent
#F04938
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #74126B

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

Preview Lab → · Contrast checker → · Palette generator →

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