#4A307A#4A307A

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

Color values

HEX#4A307A
RGBrgb(74, 48, 122)
HSLhsl(261, 44%, 33%)
HSVhsv(261, 61%, 48%)
CMYKcmyk(39.3%, 60.7%, 0%, 52.2%)
CIE-LABlab(26.66, 29.54, -38.16)
CIE-LCHlch(26.66, 48.26, 307.74°)
OKLaboklab(38.03% 0.0538 -0.1084)
OKLCHoklch(38.03% 0.121 296.4)
XYZxyz(7.3929, 4.9748, 18.9793)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A307A #607A30
analogous
#303B7A #4A307A #6F307A
triadic
#4A307A #7A4A30 #307A4A
tetradic
#4A307A #7A303B #607A30 #307A6F
square
#4A307A #7A303B #607A30 #307A6F
split-complementary
#4A307A #7A6F30 #3B7A30
monochromatic
#150D22 #2F1F4E #4A307A #6541A6 #8463C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A307A#FFFFFF#000000##FFFFFF
##4A307A1.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)
#053F7C
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#3E4050
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a307a;
/* rgb */ color: rgb(74, 48, 122);
/* oklch */ color: oklch(38.0% 0.121 296.4);
Tailwind
colors: {
  custom: {
    50: '#8069a1',
    500: '#4a307a',
    950: '#000000',
  },
}
SCSS
$custom: #4a307a;
$custom-light: #8069a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a307a",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 261.081,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38027,
    "c": 0.12103,
    "h": 296.4
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#4A307A
secondary
#8EA95D
accent
#D355A7
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #4A307A

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

Preview Lab → · Contrast checker → · Palette generator →

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