#4C3085#4C3085

#4C3085 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.136 H 294.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4C3085
RGBrgb(76, 48, 133)
HSLhsl(260, 47%, 35%)
HSVhsv(260, 64%, 52%)
CMYKcmyk(42.9%, 63.9%, 0%, 47.8%)
CIE-LABlab(27.69, 33.23, -43.40)
CIE-LCHlch(27.69, 54.66, 307.44°)
OKLaboklab(39.09% 0.0562 -0.1237)
OKLCHoklch(39.09% 0.136 294.4)
XYZxyz(8.2700, 5.3437, 22.7815)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3085 #698530
analogous
#303E85 #4C3085 #763085
triadic
#4C3085 #854C30 #30854C
tetradic
#4C3085 #85303E #698530 #308576
square
#4C3085 #85303E #698530 #308576
split-complementary
#4C3085 #857630 #3E8530
monochromatic
#19102B #322058 #4C3085 #6640B2 #8767C8

Accessibility & contrast

On white

10.15
#4C3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4C3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3085
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3085#FFFFFF#000000##FFFFFF
##4C30851.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#3D4356
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c3085;
/* rgb */ color: rgb(76, 48, 133);
/* oklch */ color: oklch(39.1% 0.136 294.4);
Tailwind
colors: {
  custom: {
    50: '#836aa9',
    500: '#4c3085',
    950: '#000000',
  },
}
SCSS
$custom: #4c3085;
$custom-light: #836aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3085",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 259.765,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.13592,
    "h": 294.4
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#4C3085
secondary
#96AF61
accent
#D751AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C3085

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

Preview Lab → · Contrast checker → · Palette generator →

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