#4B1673#4B1673

#4B1673 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.149 H 305.5°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#4B1673
RGBrgb(75, 22, 115)
HSLhsl(274, 68%, 27%)
HSVhsv(274, 81%, 45%)
CMYKcmyk(34.8%, 80.9%, 0%, 54.9%)
CIE-LABlab(21.24, 41.66, -42.48)
CIE-LCHlch(21.24, 59.50, 314.44°)
OKLaboklab(33.99% 0.0862 -0.121)
OKLCHoklch(33.99% 0.149 305.5)
XYZxyz(6.2824, 3.3075, 16.5238)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1673 #3E7316
analogous
#1D1673 #4B1673 #73166D
triadic
#4B1673 #734B16 #16734B
tetradic
#4B1673 #731D16 #3E7316 #166D73
square
#4B1673 #731D16 #3E7316 #166D73
split-complementary
#4B1673 #6D7316 #16731D
monochromatic
#11051A #290C40 #4B1673 #6D20A6 #8E2DD7

Accessibility & contrast

On white

12.64
#4B1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4B1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1673
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1673#FFFFFF#000000##FFFFFF
##4B16731.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#442E44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1673;
/* rgb */ color: rgb(75, 22, 115);
/* oklch */ color: oklch(34.0% 0.149 305.5);
Tailwind
colors: {
  custom: {
    50: '#825a9c',
    500: '#4b1673',
    950: '#000000',
  },
}
SCSS
$custom: #4b1673;
$custom-light: #825a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1673",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 274.194,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33987,
    "c": 0.14856,
    "h": 305.5
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#4B1673
secondary
#6BA93C
accent
#EB3D88
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1673

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

Preview Lab → · Contrast checker → · Palette generator →

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