#321460#321460

#321460 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.125 H 295.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#321460
RGBrgb(50, 20, 96)
HSLhsl(264, 66%, 23%)
HSVhsv(264, 79%, 38%)
CMYKcmyk(47.9%, 79.2%, 0%, 62.4%)
CIE-LABlab(15.61, 32.86, -39.38)
CIE-LCHlch(15.61, 51.29, 309.84°)
OKLaboklab(28.72% 0.0534 -0.1128)
OKLCHoklch(28.72% 0.125 295.3)
XYZxyz(3.6763, 2.0229, 11.2608)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321460 #426014
analogous
#141C60 #321460 #581460
triadic
#321460 #603214 #146032
tetradic
#321460 #60141C #426014 #146058
square
#321460 #60141C #426014 #146058
split-complementary
#321460 #605814 #1C6014
monochromatic
#0D0519 #18092D #321460 #4C1F93 #6729C5

Accessibility & contrast

On white

14.95
#321460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321460
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321460#FFFFFF#000000##FFFFFF
##3214601.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#252839
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321460;
/* rgb */ color: rgb(50, 20, 96);
/* oklch */ color: oklch(28.7% 0.125 295.3);
Tailwind
colors: {
  custom: {
    50: '#6f558e',
    500: '#321460',
    950: '#000000',
  },
}
SCSS
$custom: #321460;
$custom-light: #6f558e;
$custom-dark: #000000;
JSON
{
  "hex": "#321460",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 263.684,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28722,
    "c": 0.12482,
    "h": 295.3
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#321460
secondary
#729838
accent
#E83FA6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321460

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

Preview Lab → · Contrast checker → · Palette generator →

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