#4A2383#4A2383

#4A2383 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.151 H 296.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#4A2383
RGBrgb(74, 35, 131)
HSLhsl(264, 58%, 33%)
HSVhsv(264, 73%, 51%)
CMYKcmyk(43.5%, 73.3%, 0%, 48.6%)
CIE-LABlab(24.63, 39.53, -47.13)
CIE-LCHlch(24.63, 61.52, 309.99°)
OKLaboklab(36.78% 0.0682 -0.1348)
OKLCHoklch(36.78% 0.151 296.8)
XYZxyz(7.5207, 4.2965, 21.9014)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2383 #5C8323
analogous
#232C83 #4A2383 #7A2383
triadic
#4A2383 #834A23 #23834A
tetradic
#4A2383 #83232C #5C8323 #23837A
square
#4A2383 #83232C #5C8323 #23837A
split-complementary
#4A2383 #837A23 #2C8323
monochromatic
#130922 #2F1653 #4A2383 #6530B3 #8450D0

Accessibility & contrast

On white

11.29
#4A2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4A2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2383
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2383#FFFFFF#000000##FFFFFF
##4A23831.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#3B3B50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2383;
/* rgb */ color: rgb(74, 35, 131);
/* oklch */ color: oklch(36.8% 0.151 296.8);
Tailwind
colors: {
  custom: {
    50: '#8261a8',
    500: '#4a2383',
    950: '#000000',
  },
}
SCSS
$custom: #4a2383;
$custom-light: #8261a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2383",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 264.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36779,
    "c": 0.15102,
    "h": 296.8
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#4A2383
secondary
#8AB44E
accent
#E147A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2383

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

Preview Lab → · Contrast checker → · Palette generator →

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