#4B1675#4B1675

#4B1675 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.151 H 304.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#4B1675
RGBrgb(75, 22, 117)
HSLhsl(273, 68%, 27%)
HSVhsv(273, 81%, 46%)
CMYKcmyk(35.9%, 81.2%, 0%, 54.1%)
CIE-LABlab(21.41, 42.15, -43.48)
CIE-LCHlch(21.41, 60.56, 314.11°)
OKLaboklab(34.16% 0.0857 -0.1239)
OKLCHoklch(34.16% 0.151 304.7)
XYZxyz(6.3987, 3.3541, 17.1365)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1675 #407516
analogous
#1C1675 #4B1675 #75166F
triadic
#4B1675 #754B16 #16754B
tetradic
#4B1675 #751C16 #407516 #166F75
square
#4B1675 #751C16 #407516 #166F75
split-complementary
#4B1675 #6F7516 #16751C
monochromatic
#11051A #2A0C41 #4B1675 #6C20A9 #8D2ED8

Accessibility & contrast

On white

12.57
#4B1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1675
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1675#FFFFFF#000000##FFFFFF
##4B16751.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#432F45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1675;
/* rgb */ color: rgb(75, 22, 117);
/* oklch */ color: oklch(34.2% 0.151 304.7);
Tailwind
colors: {
  custom: {
    50: '#825a9e',
    500: '#4b1675',
    950: '#000000',
  },
}
SCSS
$custom: #4b1675;
$custom-light: #825a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1675",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 273.474,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34163,
    "c": 0.15066,
    "h": 304.7
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#4B1675
secondary
#6DAB3C
accent
#EB3D8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1675

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

Preview Lab → · Contrast checker → · Palette generator →

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