#321360#321360

#321360 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.126 H 295.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#321360
RGBrgb(50, 19, 96)
HSLhsl(264, 67%, 23%)
HSVhsv(264, 80%, 38%)
CMYKcmyk(47.9%, 80.2%, 0%, 62.4%)
CIE-LABlab(15.43, 33.37, -39.68)
CIE-LCHlch(15.43, 51.85, 310.06°)
OKLaboklab(28.59% 0.0544 -0.1137)
OKLCHoklch(28.59% 0.126 295.6)
XYZxyz(3.6590, 1.9883, 11.2551)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321360 #416013
analogous
#131A60 #321360 #591360
triadic
#321360 #603213 #136032
tetradic
#321360 #60131A #416013 #136059
square
#321360 #60131A #416013 #136059
split-complementary
#321360 #605913 #1A6013
monochromatic
#0D051A #17092D #321360 #4D1D93 #6727C6

Accessibility & contrast

On white

15.03
#321360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321360
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321360#FFFFFF#000000##FFFFFF
##3213601.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#252838
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321360;
/* rgb */ color: rgb(50, 19, 96);
/* oklch */ color: oklch(28.6% 0.126 295.6);
Tailwind
colors: {
  custom: {
    50: '#6f548e',
    500: '#321360',
    950: '#000000',
  },
}
SCSS
$custom: #321360;
$custom-light: #6f548e;
$custom-dark: #000000;
JSON
{
  "hex": "#321360",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 264.156,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28594,
    "c": 0.12602,
    "h": 295.6
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#321360
secondary
#719837
accent
#EA3EA5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321360

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

Preview Lab → · Contrast checker → · Palette generator →

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