#321364#321364

#321364 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.131 H 294.0°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#321364
RGBrgb(50, 19, 100)
HSLhsl(263, 68%, 23%)
HSVhsv(263, 81%, 39%)
CMYKcmyk(50%, 81%, 0%, 60.8%)
CIE-LABlab(15.82, 34.54, -41.69)
CIE-LCHlch(15.82, 54.14, 309.64°)
OKLaboklab(28.99% 0.0532 -0.1196)
OKLCHoklch(28.99% 0.131 294)
XYZxyz(3.8479, 2.0638, 12.2497)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321364 #456413
analogous
#131C64 #321364 #5A1364
triadic
#321364 #643213 #136432
tetradic
#321364 #64131C #456413 #13645A
square
#321364 #64131C #456413 #13645A
split-complementary
#321364 #645A13 #1C6413
monochromatic
#0D051A #180931 #321364 #4C1D97 #6527CB

Accessibility & contrast

On white

14.86
#321364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321364
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321364#FFFFFF#000000##FFFFFF
##3213641.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#23293B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321364;
/* rgb */ color: rgb(50, 19, 100);
/* oklch */ color: oklch(29.0% 0.131 294.0);
Tailwind
colors: {
  custom: {
    50: '#705591',
    500: '#321364',
    950: '#000000',
  },
}
SCSS
$custom: #321364;
$custom-light: #705591;
$custom-dark: #000000;
JSON
{
  "hex": "#321364",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 262.963,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28991,
    "c": 0.13088,
    "h": 294
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#321364
secondary
#759C37
accent
#EB3DA8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321364

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

Preview Lab → · Contrast checker → · Palette generator →

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