#321365#321365

#321365 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.132 H 293.6°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#321365
RGBrgb(50, 19, 101)
HSLhsl(263, 68%, 24%)
HSVhsv(263, 81%, 40%)
CMYKcmyk(50.5%, 81.2%, 0%, 60.4%)
CIE-LABlab(15.92, 34.83, -42.19)
CIE-LCHlch(15.92, 54.71, 309.54°)
OKLaboklab(29.09% 0.0529 -0.121)
OKLCHoklch(29.09% 0.132 293.6)
XYZxyz(3.8966, 2.0833, 12.5062)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321365 #466513
analogous
#131D65 #321365 #5B1365
triadic
#321365 #653213 #136532
tetradic
#321365 #65131D #466513 #13655B
square
#321365 #65131D #466513 #13655B
split-complementary
#321365 #655B13 #1D6513
monochromatic
#0D051A #180931 #321365 #4B1D99 #6526CC

Accessibility & contrast

On white

14.82
#321365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321365
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321365#FFFFFF#000000##FFFFFF
##3213651.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#222A3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321365;
/* rgb */ color: rgb(50, 19, 101);
/* oklch */ color: oklch(29.1% 0.132 293.6);
Tailwind
colors: {
  custom: {
    50: '#705592',
    500: '#321365',
    950: '#000000',
  },
}
SCSS
$custom: #321365;
$custom-light: #705592;
$custom-dark: #000000;
JSON
{
  "hex": "#321365",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 262.683,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29091,
    "c": 0.13209,
    "h": 293.6
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#321365
secondary
#769D37
accent
#EB3DA9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321365

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

Preview Lab → · Contrast checker → · Palette generator →

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