#321760#321760

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

Color values

HEX#321760
RGBrgb(50, 23, 96)
HSLhsl(262, 61%, 23%)
HSVhsv(262, 76%, 38%)
CMYKcmyk(47.9%, 76%, 0%, 62.4%)
CIE-LABlab(16.18, 31.24, -38.44)
CIE-LCHlch(16.18, 49.53, 309.09°)
OKLaboklab(29.13% 0.0504 -0.1101)
OKLCHoklch(29.13% 0.121 294.6)
XYZxyz(3.7325, 2.1353, 11.2796)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321760 #456017
analogous
#172060 #321760 #561760
triadic
#321760 #603217 #176032
tetradic
#321760 #601720 #456017 #176056
square
#321760 #601720 #456017 #176056
split-complementary
#321760 #605617 #206017
monochromatic
#0D0619 #180B2F #321760 #4C2391 #652FC3

Accessibility & contrast

On white

14.72
#321760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#321760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321760
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321760#FFFFFF#000000##FFFFFF
##3217601.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#252A3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321760;
/* rgb */ color: rgb(50, 23, 96);
/* oklch */ color: oklch(29.1% 0.121 294.6);
Tailwind
colors: {
  custom: {
    50: '#6f578e',
    500: '#321760',
    950: '#000000',
  },
}
SCSS
$custom: #321760;
$custom-light: #6f578e;
$custom-dark: #000000;
JSON
{
  "hex": "#321760",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 262.192,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29129,
    "c": 0.12104,
    "h": 294.6
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#321760
secondary
#75973C
accent
#E443A9
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321760

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

Preview Lab → · Contrast checker → · Palette generator →

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