#4F2283#4F2283

#4F2283 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.153 H 300.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4F2283
RGBrgb(79, 34, 131)
HSLhsl(268, 59%, 32%)
HSVhsv(268, 74%, 51%)
CMYKcmyk(39.7%, 74%, 0%, 48.6%)
CIE-LABlab(25.09, 41.02, -46.35)
CIE-LCHlch(25.09, 61.90, 311.51°)
OKLaboklab(37.25% 0.0768 -0.1323)
OKLCHoklch(37.25% 0.153 300.1)
XYZxyz(7.8922, 4.4449, 21.9105)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2283 #568322
analogous
#222683 #4F2283 #802283
triadic
#4F2283 #834F22 #22834F
tetradic
#4F2283 #832226 #568322 #228380
square
#4F2283 #832226 #568322 #228380
split-complementary
#4F2283 #838022 #268322
monochromatic
#140922 #321552 #4F2283 #6C2FB4 #8B4ED1

Accessibility & contrast

On white

11.12
#4F2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4F2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2283
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2283#FFFFFF#000000##FFFFFF
##4F22831.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#433A50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2283;
/* rgb */ color: rgb(79, 34, 131);
/* oklch */ color: oklch(37.3% 0.153 300.1);
Tailwind
colors: {
  custom: {
    50: '#8561a8',
    500: '#4f2283',
    950: '#000000',
  },
}
SCSS
$custom: #4f2283;
$custom-light: #8561a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2283",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 267.835,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37251,
    "c": 0.15295,
    "h": 300.1
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#4F2283
secondary
#84B44C
accent
#E2469A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2283

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

Preview Lab → · Contrast checker → · Palette generator →

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