#4B1674#4B1674

#4B1674 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.150 H 305.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#4B1674
RGBrgb(75, 22, 116)
HSLhsl(274, 68%, 27%)
HSVhsv(274, 81%, 45%)
CMYKcmyk(35.3%, 81%, 0%, 54.5%)
CIE-LABlab(21.32, 41.91, -42.98)
CIE-LCHlch(21.32, 60.03, 314.27°)
OKLaboklab(34.08% 0.086 -0.1224)
OKLCHoklch(34.08% 0.15 305.1)
XYZxyz(6.3402, 3.3307, 16.8285)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1674 #3F7416
analogous
#1C1674 #4B1674 #74166E
triadic
#4B1674 #744B16 #16744B
tetradic
#4B1674 #741C16 #3F7416 #166E74
square
#4B1674 #741C16 #3F7416 #166E74
split-complementary
#4B1674 #6E7416 #16741C
monochromatic
#11051A #2A0C41 #4B1674 #6C20A7 #8D2DD7

Accessibility & contrast

On white

12.60
#4B1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4B1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1674
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1674#FFFFFF#000000##FFFFFF
##4B16741.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#432E45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1674;
/* rgb */ color: rgb(75, 22, 116);
/* oklch */ color: oklch(34.1% 0.150 305.1);
Tailwind
colors: {
  custom: {
    50: '#825a9d',
    500: '#4b1674',
    950: '#000000',
  },
}
SCSS
$custom: #4b1674;
$custom-light: #825a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1674",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 273.83,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34075,
    "c": 0.14961,
    "h": 305.1
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#4B1674
secondary
#6CAA3C
accent
#EB3D89
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1674

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

Preview Lab → · Contrast checker → · Palette generator →

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