#4F265D#4F265D

#4F265D is a dark, moderate purple. Relative luminance 0.038; OKLCH L 35.0% C 0.102 H 316.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#4F265D
RGBrgb(79, 38, 93)
HSLhsl(285, 42%, 26%)
HSVhsv(285, 59%, 36%)
CMYKcmyk(15.1%, 59.1%, 0%, 63.5%)
CIE-LABlab(23.13, 29.22, -25.07)
CIE-LCHlch(23.13, 38.50, 319.38°)
OKLaboklab(34.97% 0.0744 -0.0699)
OKLCHoklch(34.97% 0.102 316.8)
XYZxyz(5.8931, 3.8390, 10.7844)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F265D #345D26
analogous
#33265D #4F265D #5D264F
triadic
#4F265D #5D4F26 #265D4F
tetradic
#4F265D #5D3326 #345D26 #264F5D
square
#4F265D #5D3326 #345D26 #264F5D
split-complementary
#4F265D #4F5D26 #265D33
monochromatic
#120916 #2A1432 #4F265D #743888 #994AB4

Accessibility & contrast

On white

11.88
#4F265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4F265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F265D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F265D#FFFFFF#000000##FFFFFF
##4F265D1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19355F
Deuteranopia (green-blind)
#27385C
Tritanopia (blue-blind)
#4E2F3D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f265d;
/* rgb */ color: rgb(79, 38, 93);
/* oklch */ color: oklch(35.0% 0.102 316.8);
Tailwind
colors: {
  custom: {
    50: '#82628b',
    500: '#4f265d',
    950: '#000000',
  },
}
SCSS
$custom: #4f265d;
$custom-light: #82628b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f265d",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 284.727,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.10208,
    "h": 316.8
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#4F265D
secondary
#5F904F
accent
#D25676
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4F265D

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

Preview Lab → · Contrast checker → · Palette generator →

#4F265D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva