#4D3283#4D3283

#4D3283 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.130 H 295.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4D3283
RGBrgb(77, 50, 131)
HSLhsl(260, 45%, 35%)
HSVhsv(260, 62%, 51%)
CMYKcmyk(41.2%, 61.8%, 0%, 48.6%)
CIE-LABlab(28.11, 31.68, -41.48)
CIE-LCHlch(28.11, 52.19, 307.37°)
OKLaboklab(39.37% 0.0553 -0.118)
OKLCHoklch(39.37% 0.13 295.1)
XYZxyz(8.2968, 5.4975, 22.0923)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3283 #688332
analogous
#323F83 #4D3283 #753283
triadic
#4D3283 #834D32 #32834D
tetradic
#4D3283 #83323F #688332 #328375
square
#4D3283 #83323F #688332 #328375
split-complementary
#4D3283 #837532 #3F8332
monochromatic
#19102A #332157 #4D3283 #6743AF #8869C6

Accessibility & contrast

On white

10.00
#4D3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3283
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3283#FFFFFF#000000##FFFFFF
##4D32831.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#0A4181
Tritanopia (blue-blind)
#3F4455
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d3283;
/* rgb */ color: rgb(77, 50, 131);
/* oklch */ color: oklch(39.4% 0.130 295.1);
Tailwind
colors: {
  custom: {
    50: '#836ba8',
    500: '#4d3283',
    950: '#000000',
  },
}
SCSS
$custom: #4d3283;
$custom-light: #836ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3283",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 260,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39369,
    "c": 0.13036,
    "h": 295.1
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#4D3283
secondary
#95AE63
accent
#D453A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4D3283

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

Preview Lab → · Contrast checker → · Palette generator →

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