#321375#321375

#321375 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.151 H 288.3°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#321375
RGBrgb(50, 19, 117)
HSLhsl(259, 72%, 27%)
HSVhsv(259, 84%, 46%)
CMYKcmyk(57.3%, 83.8%, 0%, 54.1%)
CIE-LABlab(17.59, 39.49, -49.87)
CIE-LCHlch(17.59, 63.62, 308.37°)
OKLaboklab(30.76% 0.0475 -0.1435)
OKLCHoklch(30.76% 0.151 288.3)
XYZxyz(4.7582, 2.4280, 17.0441)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321375 #567513
analogous
#132575 #321375 #631375
triadic
#321375 #753213 #137532
tetradic
#321375 #751325 #567513 #137563
square
#321375 #751325 #567513 #137563
split-complementary
#321375 #756313 #257513
monochromatic
#0B041A #1C0A40 #321375 #491CAA #6027DC

Accessibility & contrast

On white

14.14
#321375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#321375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321375
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321375#FFFFFF#000000##FFFFFF
##3213751.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#153045
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321375;
/* rgb */ color: rgb(50, 19, 117);
/* oklch */ color: oklch(30.8% 0.151 288.3);
Tailwind
colors: {
  custom: {
    50: '#73569e',
    500: '#321375',
    950: '#000000',
  },
}
SCSS
$custom: #321375;
$custom-light: #73569e;
$custom-dark: #000000;
JSON
{
  "hex": "#321375",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 258.98,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3076,
    "c": 0.15119,
    "h": 288.3
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#321375
secondary
#87AB38
accent
#EF39B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321375

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

Preview Lab → · Contrast checker → · Palette generator →

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