#320F49#320F49

#320F49 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.103 H 308.3°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#320F49
RGBrgb(50, 15, 73)
HSLhsl(276, 66%, 17%)
HSVhsv(276, 79%, 29%)
CMYKcmyk(31.5%, 79.5%, 0%, 71.4%)
CIE-LABlab(12.61, 29.01, -28.63)
CIE-LCHlch(12.61, 40.76, 315.38°)
OKLaboklab(25.96% 0.0642 -0.0812)
OKLCHoklch(25.96% 0.104 308.3)
XYZxyz(2.6886, 1.5008, 6.4501)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F49 #26490F
analogous
#150F49 #320F49 #490F43
triadic
#320F49 #49320F #0F4932
tetradic
#320F49 #49150F #26490F #0F4349
square
#320F49 #49150F #26490F #0F4349
split-complementary
#320F49 #43490F #0F4915
monochromatic
#110519 #110519 #320F49 #55197C #7824AF

Accessibility & contrast

On white

16.15
#320F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#320F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F49
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F49#FFFFFF#000000##FFFFFF
##320F491.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#022148
Tritanopia (blue-blind)
#2E1C2B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #320f49;
/* rgb */ color: rgb(50, 15, 73);
/* oklch */ color: oklch(26.0% 0.103 308.3);
Tailwind
colors: {
  custom: {
    50: '#6d517c',
    500: '#320f49',
    950: '#000000',
  },
}
SCSS
$custom: #320f49;
$custom-light: #6d517c;
$custom-dark: #000000;
JSON
{
  "hex": "#320f49",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 276.207,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25956,
    "c": 0.1035,
    "h": 308.3
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#320F49
secondary
#518330
accent
#E93F82
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320F49

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

Preview Lab → · Contrast checker → · Palette generator →

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