#4F1675#4F1675

#4F1675 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.152 H 307.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#4F1675
RGBrgb(79, 22, 117)
HSLhsl(276, 68%, 27%)
HSVhsv(276, 81%, 46%)
CMYKcmyk(32.5%, 81.2%, 0%, 54.1%)
CIE-LABlab(22.02, 42.90, -42.46)
CIE-LCHlch(22.02, 60.36, 315.29°)
OKLaboklab(34.72% 0.0918 -0.1208)
OKLCHoklch(34.72% 0.152 307.2)
XYZxyz(6.7216, 3.5205, 17.1516)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1675 #3C7516
analogous
#201675 #4F1675 #75166C
triadic
#4F1675 #754F16 #16754F
tetradic
#4F1675 #752016 #3C7516 #166C75
square
#4F1675 #752016 #3C7516 #166C75
split-complementary
#4F1675 #6C7516 #167520
monochromatic
#11051A #2C0C41 #4F1675 #7220A9 #942ED8

Accessibility & contrast

On white

12.32
#4F1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4F1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1675
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1675#FFFFFF#000000##FFFFFF
##4F16751.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#492E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1675;
/* rgb */ color: rgb(79, 22, 117);
/* oklch */ color: oklch(34.7% 0.152 307.2);
Tailwind
colors: {
  custom: {
    50: '#855b9d',
    500: '#4f1675',
    950: '#000000',
  },
}
SCSS
$custom: #4f1675;
$custom-light: #855b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1675",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 276,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34717,
    "c": 0.15167,
    "h": 307.2
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#4F1675
secondary
#68AB3C
accent
#EB3D82
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1675

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

Preview Lab → · Contrast checker → · Palette generator →

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