#321462#321462

#321462 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.127 H 294.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#321462
RGBrgb(50, 20, 98)
HSLhsl(263, 66%, 23%)
HSVhsv(263, 80%, 38%)
CMYKcmyk(49%, 79.6%, 0%, 61.6%)
CIE-LABlab(15.80, 33.44, -40.40)
CIE-LCHlch(15.80, 52.44, 309.62°)
OKLaboklab(28.92% 0.0529 -0.1158)
OKLCHoklch(28.92% 0.127 294.5)
XYZxyz(3.7696, 2.0602, 11.7519)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321462 #446214
analogous
#141D62 #321462 #591462
triadic
#321462 #623214 #146232
tetradic
#321462 #62141D #446214 #146259
square
#321462 #62141D #446214 #146259
split-complementary
#321462 #625914 #1D6214
monochromatic
#0D0519 #180A2F #321462 #4C1E95 #6629C8

Accessibility & contrast

On white

14.87
#321462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321462
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321462#FFFFFF#000000##FFFFFF
##3214621.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#24293A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321462;
/* rgb */ color: rgb(50, 20, 98);
/* oklch */ color: oklch(28.9% 0.127 294.5);
Tailwind
colors: {
  custom: {
    50: '#70558f',
    500: '#321462',
    950: '#000000',
  },
}
SCSS
$custom: #321462;
$custom-light: #70558f;
$custom-dark: #000000;
JSON
{
  "hex": "#321462",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 263.077,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28917,
    "c": 0.12728,
    "h": 294.5
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#321462
secondary
#749938
accent
#E93FA8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321462

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

Preview Lab → · Contrast checker → · Palette generator →

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