#321461#321461

#321461 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.126 H 294.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#321461
RGBrgb(50, 20, 97)
HSLhsl(263, 66%, 23%)
HSVhsv(263, 79%, 38%)
CMYKcmyk(48.5%, 79.4%, 0%, 62%)
CIE-LABlab(15.70, 33.15, -39.89)
CIE-LCHlch(15.70, 51.87, 309.73°)
OKLaboklab(28.82% 0.0532 -0.1143)
OKLCHoklch(28.82% 0.126 294.9)
XYZxyz(3.7226, 2.0414, 11.5048)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321461 #436114
analogous
#141C61 #321461 #581461
triadic
#321461 #613214 #146132
tetradic
#321461 #61141C #436114 #146158
square
#321461 #61141C #436114 #146158
split-complementary
#321461 #615814 #1C6114
monochromatic
#0D0519 #180A2E #321461 #4C1E94 #6629C6

Accessibility & contrast

On white

14.91
#321461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#321461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321461
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321461#FFFFFF#000000##FFFFFF
##3214611.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#252839
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321461;
/* rgb */ color: rgb(50, 20, 97);
/* oklch */ color: oklch(28.8% 0.126 294.9);
Tailwind
colors: {
  custom: {
    50: '#6f558f',
    500: '#321461',
    950: '#000000',
  },
}
SCSS
$custom: #321461;
$custom-light: #6f558f;
$custom-dark: #000000;
JSON
{
  "hex": "#321461",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 263.377,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28819,
    "c": 0.12605,
    "h": 294.9
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#321461
secondary
#739838
accent
#E93FA7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321461

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

Preview Lab → · Contrast checker → · Palette generator →

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