#4A2FB0#4A2FB0

#4A2FB0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.191 H 284.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4A2FB0
RGBrgb(74, 47, 176)
HSLhsl(253, 58%, 44%)
HSVhsv(253, 73%, 69%)
CMYKcmyk(58%, 73.3%, 0%, 31%)
CIE-LABlab(30.93, 46.25, -64.36)
CIE-LCHlch(30.93, 79.25, 305.70°)
OKLaboklab(42.49% 0.0474 -0.1853)
OKLCHoklch(42.49% 0.191 284.4)
XYZxyz(11.6746, 6.6227, 41.7290)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FB0 #95B02F
analogous
#2F54B0 #4A2FB0 #8A2FB0
triadic
#4A2FB0 #B04A2F #2FB04A
tetradic
#4A2FB0 #B02F54 #95B02F #2FB08A
square
#4A2FB0 #B02F54 #95B02F #2FB08A
split-complementary
#4A2FB0 #B08A2F #54B02F
monochromatic
#21154F #362280 #4A2FB0 #684DCF #917DDC

Accessibility & contrast

On white

9.03
#4A2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4A2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FB0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FB0#FFFFFF#000000##FFFFFF
##4A2FB01.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#12526D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2fb0;
/* rgb */ color: rgb(74, 47, 176);
/* oklch */ color: oklch(42.5% 0.191 284.4);
Tailwind
colors: {
  custom: {
    50: '#886ac9',
    500: '#4a2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fb0;
$custom-light: #886ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fb0",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 252.558,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.19131,
    "h": 284.4
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#4A2FB0
secondary
#B4C576
accent
#E147C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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