#461262#461262

#461262 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.134 H 310.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#461262
RGBrgb(70, 18, 98)
HSLhsl(279, 69%, 23%)
HSVhsv(279, 82%, 38%)
CMYKcmyk(28.6%, 81.6%, 0%, 61.6%)
CIE-LABlab(18.44, 38.23, -35.97)
CIE-LCHlch(18.44, 52.49, 316.75°)
OKLaboklab(31.41% 0.0866 -0.102)
OKLCHoklch(31.41% 0.134 310.3)
XYZxyz(4.9463, 2.6167, 11.7974)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461262 #2E6212
analogous
#1E1262 #461262 #621256
triadic
#461262 #624612 #126246
tetradic
#461262 #621E12 #2E6212 #125662
square
#461262 #621E12 #2E6212 #125662
split-complementary
#461262 #566212 #12621E
monochromatic
#12051A #21092E #461262 #6B1B96 #9025C9

Accessibility & contrast

On white

13.78
#461262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#461262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461262
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461262#FFFFFF#000000##FFFFFF
##4612621.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002E60
Tritanopia (blue-blind)
#422539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #461262;
/* rgb */ color: rgb(70, 18, 98);
/* oklch */ color: oklch(31.4% 0.134 310.3);
Tailwind
colors: {
  custom: {
    50: '#7d578f',
    500: '#461262',
    950: '#000000',
  },
}
SCSS
$custom: #461262;
$custom-light: #7d578f;
$custom-dark: #000000;
JSON
{
  "hex": "#461262",
  "rgb": {
    "r": 70,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 279,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31409,
    "c": 0.1338,
    "h": 310.3
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#461262
secondary
#599A36
accent
#EC3C7A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #461262

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

Preview Lab → · Contrast checker → · Palette generator →

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