#4B298C#4B298C

#4B298C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.154 H 293.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4B298C
RGBrgb(75, 41, 140)
HSLhsl(261, 55%, 35%)
HSVhsv(261, 71%, 55%)
CMYKcmyk(46.4%, 70.7%, 0%, 45.1%)
CIE-LABlab(26.66, 39.06, -49.43)
CIE-LCHlch(26.66, 63.00, 308.31°)
OKLaboklab(38.49% 0.0618 -0.1415)
OKLCHoklch(38.49% 0.154 293.6)
XYZxyz(8.4269, 4.9749, 25.3221)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B298C #6A8C29
analogous
#29388C #4B298C #7C298C
triadic
#4B298C #8C4B29 #298C4B
tetradic
#4B298C #8C2938 #6A8C29 #298C7C
square
#4B298C #8C2938 #6A8C29 #298C7C
split-complementary
#4B298C #8C7C29 #388C29
monochromatic
#180D2D #321B5D #4B298C #6437BB #865FD0

Accessibility & contrast

On white

10.53
#4B298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B298C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B298C#FFFFFF#000000##FFFFFF
##4B298C1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#384257
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b298c;
/* rgb */ color: rgb(75, 41, 140);
/* oklch */ color: oklch(38.5% 0.154 293.6);
Tailwind
colors: {
  custom: {
    50: '#8365ae',
    500: '#4b298c',
    950: '#000000',
  },
}
SCSS
$custom: #4b298c;
$custom-light: #8365ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b298c",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 260.606,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.1544,
    "h": 293.6
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#4B298C
secondary
#97B65B
accent
#DE4AAB
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B298C

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

Preview Lab → · Contrast checker → · Palette generator →

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