#321975#321975

#321975 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.145 H 287.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#321975
RGBrgb(50, 25, 117)
HSLhsl(256, 65%, 28%)
HSVhsv(256, 79%, 46%)
CMYKcmyk(57.3%, 78.6%, 0%, 54.1%)
CIE-LABlab(18.62, 36.54, -48.18)
CIE-LCHlch(18.62, 60.47, 307.17°)
OKLaboklab(31.48% 0.043 -0.1386)
OKLCHoklch(31.48% 0.145 287.2)
XYZxyz(4.8730, 2.6575, 17.0823)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321975 #5C7519
analogous
#192E75 #321975 #601975
triadic
#321975 #753219 #197532
tetradic
#321975 #75192E #5C7519 #197560
square
#321975 #75192E #5C7519 #197560
split-complementary
#321975 #756019 #2E7519
monochromatic
#0B0519 #1C0E43 #321975 #4824A7 #6035D4

Accessibility & contrast

On white

13.71
#321975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#321975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321975
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321975#FFFFFF#000000##FFFFFF
##3219751.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#153346
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #321975;
/* rgb */ color: rgb(50, 25, 117);
/* oklch */ color: oklch(31.5% 0.145 287.2);
Tailwind
colors: {
  custom: {
    50: '#72599e',
    500: '#321975',
    950: '#000000',
  },
}
SCSS
$custom: #321975;
$custom-light: #72599e;
$custom-dark: #000000;
JSON
{
  "hex": "#321975",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 256.304,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31475,
    "c": 0.14518,
    "h": 287.2
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#321975
secondary
#8DAA40
accent
#E840BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #321975

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

Preview Lab → · Contrast checker → · Palette generator →

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