#5233AF#5233AF

#5233AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.185 H 287.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#5233AF
RGBrgb(82, 51, 175)
HSLhsl(255, 55%, 44%)
HSVhsv(255, 71%, 69%)
CMYKcmyk(53.1%, 70.9%, 0%, 31.4%)
CIE-LABlab(32.38, 45.04, -61.35)
CIE-LCHlch(32.38, 76.11, 306.28°)
OKLaboklab(43.68% 0.0559 -0.1763)
OKLCHoklch(43.68% 0.185 287.6)
XYZxyz(12.3991, 7.2560, 41.2963)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233AF #90AF33
analogous
#3352AF #5233AF #9033AF
triadic
#5233AF #AF5233 #33AF52
tetradic
#5233AF #AF3352 #90AF33 #33AF90
square
#5233AF #AF3352 #90AF33 #33AF90
split-complementary
#5233AF #AF9033 #52AF33
monochromatic
#261750 #3C2580 #5233AF #7152CD #9882DB

Accessibility & contrast

On white

8.57
#5233AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5233AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233AF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233AF#FFFFFF#000000##FFFFFF
##5233AF1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#2D536D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5233af;
/* rgb */ color: rgb(82, 51, 175);
/* oklch */ color: oklch(43.7% 0.185 287.6);
Tailwind
colors: {
  custom: {
    50: '#8c6dc8',
    500: '#5233af',
    950: '#000000',
  },
}
SCSS
$custom: #5233af;
$custom-light: #8c6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5233af",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 255,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.18495,
    "h": 287.6
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#5233AF
secondary
#B1C47A
accent
#DE4AB9
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5233AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5233AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva