#382175#382175

#382175 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.135 H 289.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#382175
RGBrgb(56, 33, 117)
HSLhsl(256, 56%, 29%)
HSVhsv(256, 72%, 46%)
CMYKcmyk(52.1%, 71.8%, 0%, 54.1%)
CIE-LABlab(20.88, 33.09, -44.46)
CIE-LCHlch(20.88, 55.42, 306.66°)
OKLaboklab(33.23% 0.0452 -0.1275)
OKLCHoklch(33.23% 0.135 289.5)
XYZxyz(5.3847, 3.2126, 17.1625)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382175 #5E7521
analogous
#213475 #382175 #622175
triadic
#382175 #753821 #217538
tetradic
#382175 #752134 #5E7521 #217562
square
#382175 #752134 #5E7521 #217562
split-complementary
#382175 #756221 #347521
monochromatic
#0B0718 #211445 #382175 #4F2EA5 #6A46CB

Accessibility & contrast

On white

12.78
#382175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#382175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382175
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382175#FFFFFF#000000##FFFFFF
##3821751.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#233648
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #382175;
/* rgb */ color: rgb(56, 33, 117);
/* oklch */ color: oklch(33.2% 0.135 289.5);
Tailwind
colors: {
  custom: {
    50: '#755e9e',
    500: '#382175',
    950: '#000000',
  },
}
SCSS
$custom: #382175;
$custom-light: #755e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#382175",
  "rgb": {
    "r": 56,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 256.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.13531,
    "h": 289.5
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#382175
secondary
#8EA84A
accent
#DF49B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #382175

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

Preview Lab → · Contrast checker → · Palette generator →

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