#4A1F90#4A1F90

#4A1F90 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.171 H 293.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4A1F90
RGBrgb(74, 31, 144)
HSLhsl(263, 65%, 34%)
HSVhsv(263, 78%, 56%)
CMYKcmyk(48.6%, 78.5%, 0%, 43.5%)
CIE-LABlab(25.10, 45.07, -54.47)
CIE-LCHlch(25.10, 70.70, 309.61°)
OKLaboklab(37.48% 0.0686 -0.1563)
OKLCHoklch(37.48% 0.171 293.7)
XYZxyz(8.3467, 4.4492, 26.7991)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1F90 #65901F
analogous
#1F2D90 #4A1F90 #831F90
triadic
#4A1F90 #904A1F #1F904A
tetradic
#4A1F90 #901F2D #65901F #1F9083
square
#4A1F90 #901F2D #65901F #1F9083
split-complementary
#4A1F90 #90831F #2D901F
monochromatic
#16092B #30145E #4A1F90 #642AC2 #8450D9

Accessibility & contrast

On white

11.11
#4A1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4A1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1F90
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1F90#FFFFFF#000000##FFFFFF
##4A1F901.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#353E57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a1f90;
/* rgb */ color: rgb(74, 31, 144);
/* oklch */ color: oklch(37.5% 0.171 293.7);
Tailwind
colors: {
  custom: {
    50: '#8460b2',
    500: '#4a1f90',
    950: '#000000',
  },
}
SCSS
$custom: #4a1f90;
$custom-light: #8460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1f90",
  "rgb": {
    "r": 74,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 262.832,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37475,
    "c": 0.17066,
    "h": 293.7
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#4A1F90
secondary
#93BC4E
accent
#E840A8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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