#321363#321363

#321363 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.130 H 294.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#321363
RGBrgb(50, 19, 99)
HSLhsl(263, 68%, 23%)
HSVhsv(263, 81%, 39%)
CMYKcmyk(49.5%, 80.8%, 0%, 61.2%)
CIE-LABlab(15.72, 34.24, -41.19)
CIE-LCHlch(15.72, 53.57, 309.74°)
OKLaboklab(28.89% 0.0535 -0.1181)
OKLCHoklch(28.89% 0.13 294.4)
XYZxyz(3.7998, 2.0446, 11.9964)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321363 #446313
analogous
#131C63 #321363 #5A1363
triadic
#321363 #633213 #136332
tetradic
#321363 #63131C #446313 #13635A
square
#321363 #63131C #446313 #13635A
split-complementary
#321363 #635A13 #1C6313
monochromatic
#0D051A #180930 #321363 #4C1D96 #6627CA

Accessibility & contrast

On white

14.90
#321363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#321363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321363
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321363#FFFFFF#000000##FFFFFF
##3213631.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#24293A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321363;
/* rgb */ color: rgb(50, 19, 99);
/* oklch */ color: oklch(28.9% 0.130 294.4);
Tailwind
colors: {
  custom: {
    50: '#705490',
    500: '#321363',
    950: '#000000',
  },
}
SCSS
$custom: #321363;
$custom-light: #705490;
$custom-dark: #000000;
JSON
{
  "hex": "#321363",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 263.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28891,
    "c": 0.12967,
    "h": 294.4
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#321363
secondary
#749B37
accent
#EB3DA7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #321363

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

Preview Lab → · Contrast checker → · Palette generator →

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