#32115F#32115F

#32115F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.127 H 296.4°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#32115F
RGBrgb(50, 17, 95)
HSLhsl(265, 70%, 22%)
HSVhsv(265, 82%, 37%)
CMYKcmyk(47.4%, 82.1%, 0%, 62.7%)
CIE-LABlab(14.98, 34.08, -39.74)
CIE-LCHlch(14.98, 52.35, 310.61°)
OKLaboklab(28.25% 0.0566 -0.1138)
OKLCHoklch(28.25% 0.127 296.4)
XYZxyz(3.5809, 1.9052, 11.0033)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32115F #3E5F11
analogous
#11175F #32115F #59115F
triadic
#32115F #5F3211 #115F32
tetradic
#32115F #5F1117 #3E5F11 #115F59
square
#32115F #5F1117 #3E5F11 #115F59
split-complementary
#32115F #5F5911 #175F11
monochromatic
#0E051A #17082B #32115F #4D1A93 #6924C7

Accessibility & contrast

On white

15.21
#32115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#32115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32115F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32115F#FFFFFF#000000##FFFFFF
##32115F1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#262637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32115f;
/* rgb */ color: rgb(50, 17, 95);
/* oklch */ color: oklch(28.3% 0.127 296.4);
Tailwind
colors: {
  custom: {
    50: '#6f538d',
    500: '#32115f',
    950: '#000000',
  },
}
SCSS
$custom: #32115f;
$custom-light: #6f538d;
$custom-dark: #000000;
JSON
{
  "hex": "#32115f",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 265.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.12712,
    "h": 296.4
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#32115F
secondary
#6E9834
accent
#EC3BA2
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32115F

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

Preview Lab → · Contrast checker → · Palette generator →

#32115F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva