#321489#321489

#321489 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.174 H 283.2°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#321489
RGBrgb(50, 20, 137)
HSLhsl(255, 75%, 31%)
HSVhsv(255, 85%, 54%)
CMYKcmyk(63.5%, 85.4%, 0%, 46.3%)
CIE-LABlab(19.98, 44.87, -58.64)
CIE-LCHlch(19.98, 73.84, 307.43°)
OKLaboklab(33.07% 0.0396 -0.1691)
OKLCHoklch(33.07% 0.174 283.2)
XYZxyz(6.0795, 2.9841, 23.9177)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321489 #6B8914
analogous
#143089 #321489 #6C1489
triadic
#321489 #893214 #148932
tetradic
#321489 #891430 #6B8914 #14896C
square
#321489 #891430 #6B8914 #14896C
split-complementary
#321489 #896C14 #308914
monochromatic
#0B041E #1F0C54 #321489 #451CBE #6236E2

Accessibility & contrast

On white

13.15
#321489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#321489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321489
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321489#FFFFFF#000000##FFFFFF
##3214891.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003950
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #321489;
/* rgb */ color: rgb(50, 20, 137);
/* oklch */ color: oklch(33.1% 0.174 283.2);
Tailwind
colors: {
  custom: {
    50: '#7758ad',
    500: '#321489',
    950: '#000000',
  },
}
SCSS
$custom: #321489;
$custom-light: #7758ad;
$custom-dark: #000000;
JSON
{
  "hex": "#321489",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 255.385,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.17368,
    "h": 283.2
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#321489
secondary
#9CBD3C
accent
#F137C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #321489

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

Preview Lab → · Contrast checker → · Palette generator →

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