#392275#392275

#392275 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.134 H 289.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#392275
RGBrgb(57, 34, 117)
HSLhsl(257, 55%, 30%)
HSVhsv(257, 71%, 46%)
CMYKcmyk(51.3%, 70.9%, 0%, 54.1%)
CIE-LABlab(21.20, 32.69, -43.92)
CIE-LCHlch(21.20, 54.75, 306.66°)
OKLaboklab(33.49% 0.0457 -0.1259)
OKLCHoklch(33.49% 0.134 289.9)
XYZxyz(5.4693, 3.2980, 17.1746)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392275 #5E7522
analogous
#223475 #392275 #632275
triadic
#392275 #753922 #227539
tetradic
#392275 #752234 #5E7522 #227563
square
#392275 #752234 #5E7522 #227563
split-complementary
#392275 #756322 #347522
monochromatic
#0C0718 #221446 #392275 #5030A4 #6C48CA

Accessibility & contrast

On white

12.65
#392275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#392275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392275
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392275#FFFFFF#000000##FFFFFF
##3922751.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#253748
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392275;
/* rgb */ color: rgb(57, 34, 117);
/* oklch */ color: oklch(33.5% 0.134 289.9);
Tailwind
colors: {
  custom: {
    50: '#765f9d',
    500: '#392275',
    950: '#000000',
  },
}
SCSS
$custom: #392275;
$custom-light: #765f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#392275",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 256.627,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.13398,
    "h": 289.9
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#392275
secondary
#8EA84B
accent
#DE49B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392275

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

Preview Lab → · Contrast checker → · Palette generator →

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