#321670#321670

#321670 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.142 H 289.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#321670
RGBrgb(50, 22, 112)
HSLhsl(259, 67%, 26%)
HSVhsv(259, 80%, 44%)
CMYKcmyk(55.4%, 80.4%, 0%, 56.1%)
CIE-LABlab(17.56, 36.57, -46.69)
CIE-LCHlch(17.56, 59.31, 308.07°)
OKLaboklab(30.58% 0.047 -0.1342)
OKLCHoklch(30.58% 0.142 289.3)
XYZxyz(4.5261, 2.4216, 15.5550)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321670 #547016
analogous
#162770 #321670 #5F1670
triadic
#321670 #703216 #167032
tetradic
#321670 #701627 #547016 #16705F
square
#321670 #701627 #547016 #16705F
split-complementary
#321670 #705F16 #277016
monochromatic
#0B051A #1B0C3D #321670 #4920A3 #602BD5

Accessibility & contrast

On white

14.15
#321670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#321670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321670
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321670#FFFFFF#000000##FFFFFF
##3216701.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#1A2F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321670;
/* rgb */ color: rgb(50, 22, 112);
/* oklch */ color: oklch(30.6% 0.142 289.3);
Tailwind
colors: {
  custom: {
    50: '#72579a',
    500: '#321670',
    950: '#000000',
  },
}
SCSS
$custom: #321670;
$custom-light: #72579a;
$custom-dark: #000000;
JSON
{
  "hex": "#321670",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 258.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3058,
    "c": 0.14223,
    "h": 289.3
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#321670
secondary
#85A63C
accent
#EA3EB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #321670

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

Preview Lab → · Contrast checker → · Palette generator →

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