#321362#321362

#321362 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.128 H 294.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#321362
RGBrgb(50, 19, 98)
HSLhsl(264, 68%, 23%)
HSVhsv(264, 81%, 38%)
CMYKcmyk(49%, 80.6%, 0%, 61.6%)
CIE-LABlab(15.62, 33.95, -40.69)
CIE-LCHlch(15.62, 53.00, 309.84°)
OKLaboklab(28.79% 0.0538 -0.1166)
OKLCHoklch(28.79% 0.128 294.8)
XYZxyz(3.7523, 2.0256, 11.7462)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321362 #436213
analogous
#131C62 #321362 #591362
triadic
#321362 #623213 #136232
tetradic
#321362 #62131C #436213 #136259
square
#321362 #62131C #436213 #136259
split-complementary
#321362 #625913 #1C6213
monochromatic
#0D051A #18092F #321362 #4C1D95 #6627C9

Accessibility & contrast

On white

14.94
#321362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321362
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321362#FFFFFF#000000##FFFFFF
##3213621.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321362;
/* rgb */ color: rgb(50, 19, 98);
/* oklch */ color: oklch(28.8% 0.128 294.8);
Tailwind
colors: {
  custom: {
    50: '#70548f',
    500: '#321362',
    950: '#000000',
  },
}
SCSS
$custom: #321362;
$custom-light: #70548f;
$custom-dark: #000000;
JSON
{
  "hex": "#321362",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 263.544,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28792,
    "c": 0.12846,
    "h": 294.8
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#321362
secondary
#739A37
accent
#EA3DA7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321362

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

Preview Lab → · Contrast checker → · Palette generator →

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