#382573#382573

#382573 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.127 H 288.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#382573
RGBrgb(56, 37, 115)
HSLhsl(255, 51%, 30%)
HSVhsv(255, 68%, 45%)
CMYKcmyk(51.3%, 67.8%, 0%, 54.9%)
CIE-LABlab(21.59, 30.05, -42.02)
CIE-LCHlch(21.59, 51.66, 305.57°)
OKLaboklab(33.69% 0.0412 -0.1204)
OKLCHoklch(33.69% 0.127 288.9)
XYZxyz(5.3861, 3.4015, 16.5891)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382573 #607325
analogous
#253973 #382573 #5F2573
triadic
#382573 #733825 #257338
tetradic
#382573 #732539 #607325 #25735F
square
#382573 #732539 #607325 #25735F
split-complementary
#382573 #735F25 #397325
monochromatic
#0B0717 #211645 #382573 #4F34A1 #6A4DC6

Accessibility & contrast

On white

12.50
#382573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#382573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382573
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382573#FFFFFF#000000##FFFFFF
##3825731.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#243848
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #382573;
/* rgb */ color: rgb(56, 37, 115);
/* oklch */ color: oklch(33.7% 0.127 288.9);
Tailwind
colors: {
  custom: {
    50: '#74619c',
    500: '#382573',
    950: '#000000',
  },
}
SCSS
$custom: #382573;
$custom-light: #74619c;
$custom-dark: #000000;
JSON
{
  "hex": "#382573",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 254.615,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3369,
    "c": 0.12724,
    "h": 288.9
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#382573
secondary
#90A64E
accent
#DB4DB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #382573

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

Preview Lab → · Contrast checker → · Palette generator →

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