#533274#533274

#533274 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.111 H 304.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#533274
RGBrgb(83, 50, 116)
HSLhsl(270, 40%, 33%)
HSVhsv(270, 57%, 45%)
CMYKcmyk(28.4%, 56.9%, 0%, 54.5%)
CIE-LABlab(27.79, 29.06, -32.49)
CIE-LCHlch(27.79, 43.59, 311.81°)
OKLaboklab(38.97% 0.0637 -0.0915)
OKLCHoklch(38.97% 0.111 304.9)
XYZxyz(7.8596, 5.3812, 17.1442)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533274 #537432
analogous
#323274 #533274 #743274
triadic
#533274 #745332 #327453
tetradic
#533274 #743232 #537432 #327474
square
#533274 #743232 #537432 #327474
split-complementary
#533274 #747432 #327432
monochromatic
#160D1E #342049 #533274 #72449F #9064BC

Accessibility & contrast

On white

10.11
#533274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#533274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533274
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533274#FFFFFF#000000##FFFFFF
##5332741.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#264272
Tritanopia (blue-blind)
#4D3E4E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #533274;
/* rgb */ color: rgb(83, 50, 116);
/* oklch */ color: oklch(39.0% 0.111 304.9);
Tailwind
colors: {
  custom: {
    50: '#866b9c',
    500: '#533274',
    950: '#000000',
  },
}
SCSS
$custom: #533274;
$custom-light: #866b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#533274",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 270,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.11149,
    "h": 304.9
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#533274
secondary
#81A45E
accent
#D05894
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #533274

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

Preview Lab → · Contrast checker → · Palette generator →

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