#751267#751267

#751267 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.160 H 335.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#751267
RGBrgb(117, 18, 103)
HSLhsl(308, 73%, 26%)
HSVhsv(308, 85%, 46%)
CMYKcmyk(0%, 84.6%, 12%, 54.1%)
CIE-LABlab(27.28, 49.49, -24.62)
CIE-LCHlch(27.28, 55.27, 333.55°)
OKLaboklab(39.44% 0.1446 -0.0674)
OKLCHoklch(39.44% 0.16 335)
XYZxyz(10.0007, 5.1947, 13.3053)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751267 #127520
analogous
#521275 #751267 #751236
triadic
#751267 #677512 #126775
tetradic
#751267 #755212 #127520 #123675
square
#751267 #755212 #127520 #123675
split-complementary
#751267 #367512 #127552
monochromatic
#1B0417 #400A38 #751267 #AA1A96 #DD24C3

Accessibility & contrast

On white

10.30
#751267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#751267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751267
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751267#FFFFFF#000000##FFFFFF
##7512671.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113769
Deuteranopia (green-blind)
#384565
Tritanopia (blue-blind)
#7B1C3D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #751267;
/* rgb */ color: rgb(117, 18, 103);
/* oklch */ color: oklch(39.4% 0.160 335.0);
Tailwind
colors: {
  custom: {
    50: '#a05e92',
    500: '#751267',
    950: '#000000',
  },
}
SCSS
$custom: #751267;
$custom-light: #a05e92;
$custom-dark: #000000;
JSON
{
  "hex": "#751267",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 308.485,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39441,
    "c": 0.15955,
    "h": 335
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#751267
secondary
#37AC48
accent
#F05238
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #751267

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

Preview Lab → · Contrast checker → · Palette generator →

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