#4A0F63#4A0F63

#4A0F63 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.139 H 313.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#4A0F63
RGBrgb(74, 15, 99)
HSLhsl(282, 74%, 22%)
HSVhsv(282, 85%, 39%)
CMYKcmyk(25.3%, 84.8%, 0%, 61.2%)
CIE-LABlab(18.79, 40.41, -36.02)
CIE-LCHlch(18.79, 54.13, 318.28°)
OKLaboklab(31.82% 0.095 -0.102)
OKLCHoklch(31.82% 0.139 313)
XYZxyz(5.2466, 2.6985, 12.0464)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F63 #28630F
analogous
#200F63 #4A0F63 #630F52
triadic
#4A0F63 #634A0F #0F634A
tetradic
#4A0F63 #63200F #28630F #0F5263
square
#4A0F63 #63200F #28630F #0F5263
split-complementary
#4A0F63 #52630F #0F6320
monochromatic
#14041B #22072E #4A0F63 #721798 #991FCD

Accessibility & contrast

On white

13.64
#4A0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4A0F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F63
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F63#FFFFFF#000000##FFFFFF
##4A0F631.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#032F61
Tritanopia (blue-blind)
#472439
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a0f63;
/* rgb */ color: rgb(74, 15, 99);
/* oklch */ color: oklch(31.8% 0.139 313.0);
Tailwind
colors: {
  custom: {
    50: '#805690',
    500: '#4a0f63',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f63;
$custom-light: #805690;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f63",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 282.143,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3182,
    "c": 0.13937,
    "h": 313
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#4A0F63
secondary
#519C32
accent
#F0376E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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