#4F1F73#4F1F73

#4F1F73 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.139 H 306.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#4F1F73
RGBrgb(79, 31, 115)
HSLhsl(274, 58%, 29%)
HSVhsv(274, 73%, 45%)
CMYKcmyk(31.3%, 73%, 0%, 54.9%)
CIE-LABlab(23.27, 38.38, -39.15)
CIE-LCHlch(23.27, 54.82, 314.43°)
OKLaboklab(35.55% 0.083 -0.1111)
OKLCHoklch(35.55% 0.139 306.8)
XYZxyz(6.8083, 3.8801, 16.6066)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1F73 #43731F
analogous
#251F73 #4F1F73 #731F6D
triadic
#4F1F73 #734F1F #1F734F
tetradic
#4F1F73 #73251F #43731F #1F6D73
square
#4F1F73 #73251F #43731F #1F6D73
split-complementary
#4F1F73 #6D731F #1F7325
monochromatic
#110618 #2E1243 #4F1F73 #702CA3 #9041CC

Accessibility & contrast

On white

11.82
#4F1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4F1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1F73
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1F73#FFFFFF#000000##FFFFFF
##4F1F731.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#053871
Tritanopia (blue-blind)
#493246
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f1f73;
/* rgb */ color: rgb(79, 31, 115);
/* oklch */ color: oklch(35.6% 0.139 306.8);
Tailwind
colors: {
  custom: {
    50: '#845f9c',
    500: '#4f1f73',
    950: '#000000',
  },
}
SCSS
$custom: #4f1f73;
$custom-light: #845f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1f73",
  "rgb": {
    "r": 79,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 274.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.13864,
    "h": 306.8
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#4F1F73
secondary
#70A747
accent
#E14789
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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