#481875#481875

#481875 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.148 H 302.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#481875
RGBrgb(72, 24, 117)
HSLhsl(271, 66%, 28%)
HSVhsv(271, 79%, 46%)
CMYKcmyk(38.5%, 79.5%, 0%, 54.1%)
CIE-LABlab(21.26, 40.75, -43.74)
CIE-LCHlch(21.26, 59.78, 312.97°)
OKLaboklab(33.97% 0.0793 -0.1248)
OKLCHoklch(33.97% 0.148 302.4)
XYZxyz(6.2092, 3.3153, 17.1390)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481875 #457518
analogous
#1A1875 #481875 #751873
triadic
#481875 #754818 #187548
tetradic
#481875 #751A18 #457518 #187375
square
#481875 #751A18 #457518 #187375
split-complementary
#481875 #737518 #18751A
monochromatic
#100519 #290E42 #481875 #6722A8 #8632D5

Accessibility & contrast

On white

12.63
#481875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#481875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481875
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481875#FFFFFF#000000##FFFFFF
##4818751.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#3E3046
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481875;
/* rgb */ color: rgb(72, 24, 117);
/* oklch */ color: oklch(34.0% 0.148 302.4);
Tailwind
colors: {
  custom: {
    50: '#805b9e',
    500: '#481875',
    950: '#000000',
  },
}
SCSS
$custom: #481875;
$custom-light: #805b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481875",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 270.968,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33968,
    "c": 0.14782,
    "h": 302.4
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#481875
secondary
#73AA3F
accent
#E93F91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481875

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

Preview Lab → · Contrast checker → · Palette generator →

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