#4A306F#4A306F

#4A306F is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.106 H 300.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4A306F
RGBrgb(74, 48, 111)
HSLhsl(265, 40%, 31%)
HSVhsv(265, 57%, 44%)
CMYKcmyk(33.3%, 56.8%, 0%, 56.5%)
CIE-LABlab(25.91, 26.39, -32.37)
CIE-LCHlch(25.91, 41.76, 309.19°)
OKLaboklab(37.24% 0.0536 -0.0914)
OKLCHoklch(37.24% 0.106 300.4)
XYZxyz(6.7496, 4.7174, 15.5908)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A306F #556F30
analogous
#30356F #4A306F #69306F
triadic
#4A306F #6F4A30 #306F4A
tetradic
#4A306F #6F3035 #556F30 #306F69
square
#4A306F #6F3035 #556F30 #306F69
split-complementary
#4A306F #6F6930 #356F30
monochromatic
#110B1A #2E1E44 #4A306F #66429A #855FBA

Accessibility & contrast

On white

10.81
#4A306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A306F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A306F#FFFFFF#000000##FFFFFF
##4A306F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#203D6E
Tritanopia (blue-blind)
#423C4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a306f;
/* rgb */ color: rgb(74, 48, 111);
/* oklch */ color: oklch(37.2% 0.106 300.4);
Tailwind
colors: {
  custom: {
    50: '#7f6999',
    500: '#4a306f',
    950: '#000000',
  },
}
SCSS
$custom: #4a306f;
$custom-light: #7f6999;
$custom-dark: #000000;
JSON
{
  "hex": "#4a306f",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 264.762,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.10596,
    "h": 300.4
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#4A306F
secondary
#83A05B
accent
#D0589E
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4A306F

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

Preview Lab → · Contrast checker → · Palette generator →

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