#320C53#320C53

#320C53 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.119 H 303.1°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#320C53
RGBrgb(50, 12, 83)
HSLhsl(272, 75%, 19%)
HSVhsv(272, 86%, 33%)
CMYKcmyk(39.8%, 85.5%, 0%, 67.5%)
CIE-LABlab(13.02, 33.07, -34.86)
CIE-LCHlch(13.02, 48.05, 313.49°)
OKLaboklab(26.52% 0.0649 -0.0994)
OKLCHoklch(26.52% 0.119 303.1)
XYZxyz(3.0078, 1.5656, 8.3257)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C53 #2D530C
analogous
#0E0C53 #320C53 #530C50
triadic
#320C53 #53320C #0C5332
tetradic
#320C53 #530E0C #2D530C #0C5053
square
#320C53 #530E0C #2D530C #0C5053
split-complementary
#320C53 #50530C #0C530E
monochromatic
#10041B #12041E #320C53 #521488 #721BBE

Accessibility & contrast

On white

15.99
#320C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#320C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320C53
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C53#FFFFFF#000000##FFFFFF
##320C531.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#2B1F2F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #320c53;
/* rgb */ color: rgb(50, 12, 83);
/* oklch */ color: oklch(26.5% 0.119 303.1);
Tailwind
colors: {
  custom: {
    50: '#6e5084',
    500: '#320c53',
    950: '#000000',
  },
}
SCSS
$custom: #320c53;
$custom-light: #6e5084;
$custom-dark: #000000;
JSON
{
  "hex": "#320c53",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 272.113,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26522,
    "c": 0.11875,
    "h": 303.1
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#320C53
secondary
#5A8E2D
accent
#F1368D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #320C53

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

Preview Lab → · Contrast checker → · Palette generator →

#320C53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva