#321470#321470

#321470 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.144 H 289.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#321470
RGBrgb(50, 20, 112)
HSLhsl(260, 70%, 26%)
HSVhsv(260, 82%, 44%)
CMYKcmyk(55.4%, 82.1%, 0%, 56.1%)
CIE-LABlab(17.22, 37.56, -47.25)
CIE-LCHlch(17.22, 60.36, 308.48°)
OKLaboklab(30.34% 0.0485 -0.1359)
OKLCHoklch(30.34% 0.144 289.7)
XYZxyz(4.4893, 2.3481, 15.5428)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321470 #527014
analogous
#142470 #321470 #601470
triadic
#321470 #703214 #147032
tetradic
#321470 #701424 #527014 #147060
square
#321470 #701424 #527014 #147060
split-complementary
#321470 #706014 #247014
monochromatic
#0C051A #1B0B3C #321470 #491DA4 #6027D8

Accessibility & contrast

On white

14.29
#321470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321470
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321470#FFFFFF#000000##FFFFFF
##3214701.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#1A2F42
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321470;
/* rgb */ color: rgb(50, 20, 112);
/* oklch */ color: oklch(30.3% 0.144 289.7);
Tailwind
colors: {
  custom: {
    50: '#72569a',
    500: '#321470',
    950: '#000000',
  },
}
SCSS
$custom: #321470;
$custom-light: #72569a;
$custom-dark: #000000;
JSON
{
  "hex": "#321470",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 259.565,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.14429,
    "h": 289.7
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#321470
secondary
#83A639
accent
#ED3BB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321470

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

Preview Lab → · Contrast checker → · Palette generator →

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