#382575#382575

#382575 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.130 H 288.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#382575
RGBrgb(56, 37, 117)
HSLhsl(254, 52%, 30%)
HSVhsv(254, 68%, 46%)
CMYKcmyk(52.1%, 68.4%, 0%, 54.1%)
CIE-LABlab(21.76, 30.68, -43.02)
CIE-LCHlch(21.76, 52.84, 305.50°)
OKLaboklab(33.87% 0.0409 -0.1233)
OKLCHoklch(33.87% 0.13 288.4)
XYZxyz(5.5024, 3.4480, 17.2018)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382575 #627525
analogous
#253A75 #382575 #602575
triadic
#382575 #753825 #257538
tetradic
#382575 #75253A #627525 #257560
square
#382575 #75253A #627525 #257560
split-complementary
#382575 #756025 #3A7525
monochromatic
#0B0818 #221647 #382575 #4E34A3 #6A4EC7

Accessibility & contrast

On white

12.43
#382575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#382575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382575
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382575#FFFFFF#000000##FFFFFF
##3825751.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#233949
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #382575;
/* rgb */ color: rgb(56, 37, 117);
/* oklch */ color: oklch(33.9% 0.130 288.4);
Tailwind
colors: {
  custom: {
    50: '#75619d',
    500: '#382575',
    950: '#000000',
  },
}
SCSS
$custom: #382575;
$custom-light: #75619d;
$custom-dark: #000000;
JSON
{
  "hex": "#382575",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 254.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.12996,
    "h": 288.4
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#382575
secondary
#92A84E
accent
#DB4CB9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #382575

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

Preview Lab → · Contrast checker → · Palette generator →

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