#461272#461272

#461272 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.150 H 303.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#461272
RGBrgb(70, 18, 114)
HSLhsl(273, 73%, 26%)
HSVhsv(273, 84%, 45%)
CMYKcmyk(38.6%, 84.2%, 0%, 55.3%)
CIE-LABlab(19.84, 42.12, -44.14)
CIE-LCHlch(19.84, 61.01, 313.66°)
OKLaboklab(32.83% 0.0822 -0.126)
OKLCHoklch(32.83% 0.15 303.1)
XYZxyz(5.7786, 2.9496, 16.1812)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461272 #3E7212
analogous
#161272 #461272 #72126E
triadic
#461272 #724612 #127246
tetradic
#461272 #721612 #3E7212 #126E72
square
#461272 #721612 #3E7212 #126E72
split-complementary
#461272 #6E7212 #127216
monochromatic
#10041A #260A3D #461272 #661AA7 #8723DC

Accessibility & contrast

On white

13.21
#461272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#461272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461272
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461272#FFFFFF#000000##FFFFFF
##4612721.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#3D2C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #461272;
/* rgb */ color: rgb(70, 18, 114);
/* oklch */ color: oklch(32.8% 0.150 303.1);
Tailwind
colors: {
  custom: {
    50: '#7f589b',
    500: '#461272',
    950: '#000000',
  },
}
SCSS
$custom: #461272;
$custom-light: #7f589b;
$custom-dark: #000000;
JSON
{
  "hex": "#461272",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 272.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32826,
    "c": 0.15046,
    "h": 303.1
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#461272
secondary
#6BA937
accent
#EF388C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #461272

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

Preview Lab → · Contrast checker → · Palette generator →

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