#52296F#52296F

#52296F is a dark, moderate violet. Relative luminance 0.045; OKLCH L 37.0% C 0.120 H 308.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#52296F
RGBrgb(82, 41, 111)
HSLhsl(275, 46%, 30%)
HSVhsv(275, 63%, 44%)
CMYKcmyk(26.1%, 63.1%, 0%, 56.5%)
CIE-LABlab(25.34, 32.78, -33.22)
CIE-LCHlch(25.34, 46.67, 314.61°)
OKLaboklab(37.05% 0.075 -0.0936)
OKLCHoklch(37.05% 0.12 308.7)
XYZxyz(7.1413, 4.5275, 15.5335)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52296F #466F29
analogous
#2F296F #52296F #6F2969
triadic
#52296F #6F5229 #296F52
tetradic
#52296F #6F2F29 #466F29 #29696F
square
#52296F #6F2F29 #466F29 #29696F
split-complementary
#52296F #696F29 #296F2F
monochromatic
#110816 #311842 #52296F #733A9C #9353BF

Accessibility & contrast

On white

11.02
#52296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#52296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52296F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52296F#FFFFFF#000000##FFFFFF
##52296F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A71
Deuteranopia (green-blind)
#1F3D6D
Tritanopia (blue-blind)
#4E3648
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #52296f;
/* rgb */ color: rgb(82, 41, 111);
/* oklch */ color: oklch(37.0% 0.120 308.7);
Tailwind
colors: {
  custom: {
    50: '#856599',
    500: '#52296f',
    950: '#000000',
  },
}
SCSS
$custom: #52296f;
$custom-light: #856599;
$custom-dark: #000000;
JSON
{
  "hex": "#52296f",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 275.143,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37045,
    "c": 0.11993,
    "h": 308.7
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#52296F
secondary
#73A153
accent
#D65289
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #52296F

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

Preview Lab → · Contrast checker → · Palette generator →

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