#461274#461274

#461274 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.153 H 302.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#461274
RGBrgb(70, 18, 116)
HSLhsl(272, 73%, 26%)
HSVhsv(272, 84%, 45%)
CMYKcmyk(39.7%, 84.5%, 0%, 54.5%)
CIE-LABlab(20.03, 42.62, -45.13)
CIE-LCHlch(20.03, 62.07, 313.36°)
OKLaboklab(33.01% 0.0816 -0.1289)
OKLCHoklch(33.01% 0.153 302.3)
XYZxyz(5.8937, 2.9956, 16.7873)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461274 #407412
analogous
#151274 #461274 #741271
triadic
#461274 #744612 #127446
tetradic
#461274 #741512 #407412 #127174
square
#461274 #741512 #407412 #127174
split-complementary
#461274 #717412 #127415
monochromatic
#10041A #260A3F #461274 #661AA9 #8623DD

Accessibility & contrast

On white

13.13
#461274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461274
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461274#FFFFFF#000000##FFFFFF
##4612741.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#3C2D44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #461274;
/* rgb */ color: rgb(70, 18, 116);
/* oklch */ color: oklch(33.0% 0.153 302.3);
Tailwind
colors: {
  custom: {
    50: '#7f589d',
    500: '#461274',
    950: '#000000',
  },
}
SCSS
$custom: #461274;
$custom-light: #7f589d;
$custom-dark: #000000;
JSON
{
  "hex": "#461274",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 271.837,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33012,
    "c": 0.15254,
    "h": 302.3
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#461274
secondary
#6DAB37
accent
#F0388E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #461274

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

Preview Lab → · Contrast checker → · Palette generator →

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