#321875#321875

#321875 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.146 H 287.4°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#321875
RGBrgb(50, 24, 117)
HSLhsl(257, 66%, 28%)
HSVhsv(257, 79%, 46%)
CMYKcmyk(57.3%, 79.5%, 0%, 54.1%)
CIE-LABlab(18.43, 37.06, -48.49)
CIE-LCHlch(18.43, 61.03, 307.39°)
OKLaboklab(31.35% 0.0438 -0.1395)
OKLCHoklch(31.35% 0.146 287.4)
XYZxyz(4.8520, 2.6155, 17.0753)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321875 #5B7518
analogous
#182D75 #321875 #601875
triadic
#321875 #753218 #187532
tetradic
#321875 #75182D #5B7518 #187560
square
#321875 #75182D #5B7518 #187560
split-complementary
#321875 #756018 #2D7518
monochromatic
#0B0519 #1C0E42 #321875 #4822A8 #6032D5

Accessibility & contrast

On white

13.79
#321875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#321875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321875
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321875#FFFFFF#000000##FFFFFF
##3218751.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321875;
/* rgb */ color: rgb(50, 24, 117);
/* oklch */ color: oklch(31.3% 0.146 287.4);
Tailwind
colors: {
  custom: {
    50: '#73589e',
    500: '#321875',
    950: '#000000',
  },
}
SCSS
$custom: #321875;
$custom-light: #73589e;
$custom-dark: #000000;
JSON
{
  "hex": "#321875",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 256.774,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31347,
    "c": 0.14625,
    "h": 287.4
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#321875
secondary
#8CAA3F
accent
#E93FB9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321875

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

Preview Lab → · Contrast checker → · Palette generator →

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