#321075#321075

#321075 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.5% C 0.154 H 288.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#321075
RGBrgb(50, 16, 117)
HSLhsl(260, 76%, 26%)
HSVhsv(260, 86%, 46%)
CMYKcmyk(57.3%, 86.3%, 0%, 54.1%)
CIE-LABlab(17.14, 40.79, -50.61)
CIE-LCHlch(17.14, 65.00, 308.87°)
OKLaboklab(30.45% 0.0495 -0.1456)
OKLCHoklch(30.45% 0.154 288.8)
XYZxyz(4.7106, 2.3328, 17.0282)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321075 #537510
analogous
#102075 #321075 #641075
triadic
#321075 #753210 #107532
tetradic
#321075 #751020 #537510 #107564
square
#321075 #751020 #537510 #107564
split-complementary
#321075 #756410 #207510
monochromatic
#0C041B #1B093F #321075 #4917AB #601FE0

Accessibility & contrast

On white

14.32
#321075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321075
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321075#FFFFFF#000000##FFFFFF
##3210751.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#162F44
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321075;
/* rgb */ color: rgb(50, 16, 117);
/* oklch */ color: oklch(30.5% 0.154 288.8);
Tailwind
colors: {
  custom: {
    50: '#73549e',
    500: '#321075',
    950: '#000000',
  },
}
SCSS
$custom: #321075;
$custom-light: #73549e;
$custom-dark: #000000;
JSON
{
  "hex": "#321075",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 260.198,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30453,
    "c": 0.1538,
    "h": 288.8
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#321075
secondary
#84AC35
accent
#F335B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321075

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

Preview Lab → · Contrast checker → · Palette generator →

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