#321361#321361

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

Color values

HEX#321361
RGBrgb(50, 19, 97)
HSLhsl(264, 67%, 23%)
HSVhsv(264, 80%, 38%)
CMYKcmyk(48.5%, 80.4%, 0%, 62%)
CIE-LABlab(15.52, 33.66, -40.19)
CIE-LCHlch(15.52, 52.42, 309.95°)
OKLaboklab(28.69% 0.0541 -0.1152)
OKLCHoklch(28.69% 0.127 295.2)
XYZxyz(3.7054, 2.0068, 11.4991)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321361 #426113
analogous
#131B61 #321361 #591361
triadic
#321361 #613213 #136132
tetradic
#321361 #61131B #426113 #136159
square
#321361 #61131B #426113 #136159
split-complementary
#321361 #615913 #1B6113
monochromatic
#0D051A #18092E #321361 #4C1D94 #6727C7

Accessibility & contrast

On white

14.99
#321361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321361
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321361#FFFFFF#000000##FFFFFF
##3213611.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#252839
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321361;
/* rgb */ color: rgb(50, 19, 97);
/* oklch */ color: oklch(28.7% 0.127 295.2);
Tailwind
colors: {
  custom: {
    50: '#70548f',
    500: '#321361',
    950: '#000000',
  },
}
SCSS
$custom: #321361;
$custom-light: #70548f;
$custom-dark: #000000;
JSON
{
  "hex": "#321361",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 263.846,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28693,
    "c": 0.12724,
    "h": 295.2
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#321361
secondary
#729937
accent
#EA3EA6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321361

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

Preview Lab → · Contrast checker → · Palette generator →

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