#4B2685#4B2685

#4B2685 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.150 H 296.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#4B2685
RGBrgb(75, 38, 133)
HSLhsl(263, 56%, 34%)
HSVhsv(263, 71%, 52%)
CMYKcmyk(43.6%, 71.4%, 0%, 47.8%)
CIE-LABlab(25.49, 38.70, -46.98)
CIE-LCHlch(25.49, 60.87, 309.48°)
OKLaboklab(37.47% 0.0662 -0.1343)
OKLCHoklch(37.47% 0.15 296.2)
XYZxyz(7.8273, 4.5754, 22.6565)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2685 #608526
analogous
#263085 #4B2685 #7A2685
triadic
#4B2685 #854B26 #26854B
tetradic
#4B2685 #852630 #608526 #26857A
square
#4B2685 #852630 #608526 #26857A
split-complementary
#4B2685 #857A26 #308526
monochromatic
#150B26 #301855 #4B2685 #6634B5 #8557CF

Accessibility & contrast

On white

10.96
#4B2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4B2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2685
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2685#FFFFFF#000000##FFFFFF
##4B26851.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#3C3D52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2685;
/* rgb */ color: rgb(75, 38, 133);
/* oklch */ color: oklch(37.5% 0.150 296.2);
Tailwind
colors: {
  custom: {
    50: '#8363a9',
    500: '#4b2685',
    950: '#000000',
  },
}
SCSS
$custom: #4b2685;
$custom-light: #8363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2685",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 263.368,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37473,
    "c": 0.1497,
    "h": 296.2
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#4B2685
secondary
#8EB353
accent
#DF49A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B2685

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

Preview Lab → · Contrast checker → · Palette generator →

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