#4B2983#4B2983

#4B2983 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.143 H 296.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#4B2983
RGBrgb(75, 41, 131)
HSLhsl(263, 52%, 34%)
HSVhsv(263, 69%, 51%)
CMYKcmyk(42.7%, 68.7%, 0%, 48.6%)
CIE-LABlab(25.92, 36.49, -45.02)
CIE-LCHlch(25.92, 57.95, 309.02°)
OKLaboklab(37.73% 0.0632 -0.1285)
OKLCHoklch(37.73% 0.143 296.2)
XYZxyz(7.7902, 4.7203, 21.9690)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2983 #618329
analogous
#293483 #4B2983 #782983
triadic
#4B2983 #834B29 #29834B
tetradic
#4B2983 #832934 #618329 #298378
square
#4B2983 #832934 #618329 #298378
split-complementary
#4B2983 #837829 #348329
monochromatic
#160C26 #301A54 #4B2983 #6638B2 #855BCC

Accessibility & contrast

On white

10.80
#4B2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4B2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2983
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2983#FFFFFF#000000##FFFFFF
##4B29831.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#3D3E52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2983;
/* rgb */ color: rgb(75, 41, 131);
/* oklch */ color: oklch(37.7% 0.143 296.2);
Tailwind
colors: {
  custom: {
    50: '#8265a8',
    500: '#4b2983',
    950: '#000000',
  },
}
SCSS
$custom: #4b2983;
$custom-light: #8265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2983",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 262.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.14324,
    "h": 296.2
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#4B2983
secondary
#8FB157
accent
#DC4CA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2983

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

Preview Lab → · Contrast checker → · Palette generator →

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