#321764#321764

#321764 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.126 H 293.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#321764
RGBrgb(50, 23, 100)
HSLhsl(261, 63%, 24%)
HSVhsv(261, 77%, 39%)
CMYKcmyk(50%, 77%, 0%, 60.8%)
CIE-LABlab(16.56, 32.44, -40.48)
CIE-LCHlch(16.56, 51.87, 308.71°)
OKLaboklab(29.51% 0.0494 -0.116)
OKLCHoklch(29.51% 0.126 293.1)
XYZxyz(3.9214, 2.2109, 12.2742)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321764 #496417
analogous
#172364 #321764 #591764
triadic
#321764 #643217 #176432
tetradic
#321764 #641723 #496417 #176459
square
#321764 #641723 #496417 #176459
split-complementary
#321764 #645917 #236417
monochromatic
#0C0619 #190C32 #321764 #4B2296 #642EC8

Accessibility & contrast

On white

14.56
#321764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#321764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321764
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321764#FFFFFF#000000##FFFFFF
##3217641.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#232B3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321764;
/* rgb */ color: rgb(50, 23, 100);
/* oklch */ color: oklch(29.5% 0.126 293.1);
Tailwind
colors: {
  custom: {
    50: '#705791',
    500: '#321764',
    950: '#000000',
  },
}
SCSS
$custom: #321764;
$custom-light: #705791;
$custom-dark: #000000;
JSON
{
  "hex": "#321764",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 261.039,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29511,
    "c": 0.12613,
    "h": 293.1
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#321764
secondary
#799A3C
accent
#E642AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321764

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

Preview Lab → · Contrast checker → · Palette generator →

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