#321761#321761

#321761 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.2% C 0.122 H 294.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#321761
RGBrgb(50, 23, 97)
HSLhsl(262, 62%, 24%)
HSVhsv(262, 76%, 38%)
CMYKcmyk(48.5%, 76.3%, 0%, 62%)
CIE-LABlab(16.27, 31.54, -38.96)
CIE-LCHlch(16.27, 50.12, 308.99°)
OKLaboklab(29.22% 0.0501 -0.1116)
OKLCHoklch(29.22% 0.122 294.2)
XYZxyz(3.7789, 2.1539, 11.5236)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321761 #466117
analogous
#172161 #321761 #571761
triadic
#321761 #613217 #176132
tetradic
#321761 #611721 #466117 #176157
square
#321761 #611721 #466117 #176157
split-complementary
#321761 #615717 #216117
monochromatic
#0D0619 #180B30 #321761 #4B2392 #652EC4

Accessibility & contrast

On white

14.68
#321761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#321761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321761
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321761#FFFFFF#000000##FFFFFF
##3217611.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#242A3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321761;
/* rgb */ color: rgb(50, 23, 97);
/* oklch */ color: oklch(29.2% 0.122 294.2);
Tailwind
colors: {
  custom: {
    50: '#6f578f',
    500: '#321761',
    950: '#000000',
  },
}
SCSS
$custom: #321761;
$custom-light: #6f578f;
$custom-dark: #000000;
JSON
{
  "hex": "#321761",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 261.892,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29223,
    "c": 0.12232,
    "h": 294.2
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#321761
secondary
#76983C
accent
#E543AA
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321761

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

Preview Lab → · Contrast checker → · Palette generator →

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