#321065#321065

#321065 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.135 H 294.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#321065
RGBrgb(50, 16, 101)
HSLhsl(264, 73%, 23%)
HSVhsv(264, 84%, 40%)
CMYKcmyk(50.5%, 84.2%, 0%, 60.4%)
CIE-LABlab(15.43, 36.25, -43.00)
CIE-LCHlch(15.43, 56.24, 310.13°)
OKLaboklab(28.75% 0.0554 -0.1234)
OKLCHoklch(28.75% 0.135 294.2)
XYZxyz(3.8490, 1.9882, 12.4903)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321065 #436510
analogous
#101865 #321065 #5C1065
triadic
#321065 #653210 #106532
tetradic
#321065 #651018 #436510 #10655C
square
#321065 #651018 #436510 #10655C
split-complementary
#321065 #655C10 #186510
monochromatic
#0D041A #180830 #321065 #4C189A #6621CF

Accessibility & contrast

On white

15.03
#321065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321065
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321065#FFFFFF#000000##FFFFFF
##3210651.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#22283B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321065;
/* rgb */ color: rgb(50, 16, 101);
/* oklch */ color: oklch(28.7% 0.135 294.2);
Tailwind
colors: {
  custom: {
    50: '#705392',
    500: '#321065',
    950: '#000000',
  },
}
SCSS
$custom: #321065;
$custom-light: #705392;
$custom-dark: #000000;
JSON
{
  "hex": "#321065",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 264,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.13525,
    "h": 294.2
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#321065
secondary
#739D33
accent
#EF38A6
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321065

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

Preview Lab → · Contrast checker → · Palette generator →

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