#481270#481270

#481270 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.149 H 305.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#481270
RGBrgb(72, 18, 112)
HSLhsl(274, 72%, 25%)
HSVhsv(274, 84%, 44%)
CMYKcmyk(35.7%, 83.9%, 0%, 56.1%)
CIE-LABlab(19.96, 41.97, -42.63)
CIE-LCHlch(19.96, 59.83, 314.55°)
OKLaboklab(32.92% 0.086 -0.1215)
OKLCHoklch(32.92% 0.149 305.3)
XYZxyz(5.8128, 2.9802, 15.5951)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481270 #3A7012
analogous
#191270 #481270 #701269
triadic
#481270 #704812 #127048
tetradic
#481270 #701912 #3A7012 #126970
square
#481270 #701912 #3A7012 #126970
split-complementary
#481270 #697012 #127019
monochromatic
#11041A #260A3B #481270 #6A1AA5 #8C23D9

Accessibility & contrast

On white

13.16
#481270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#481270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481270
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481270#FFFFFF#000000##FFFFFF
##4812701.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#402B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481270;
/* rgb */ color: rgb(72, 18, 112);
/* oklch */ color: oklch(32.9% 0.149 305.3);
Tailwind
colors: {
  custom: {
    50: '#80589a',
    500: '#481270',
    950: '#000000',
  },
}
SCSS
$custom: #481270;
$custom-light: #80589a;
$custom-dark: #000000;
JSON
{
  "hex": "#481270",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 274.468,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3292,
    "c": 0.14883,
    "h": 305.3
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#481270
secondary
#67A737
accent
#EF3986
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481270

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

Preview Lab → · Contrast checker → · Palette generator →

#481270 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva