#392273#392273

#392273 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.3% C 0.131 H 290.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#392273
RGBrgb(57, 34, 115)
HSLhsl(257, 54%, 29%)
HSVhsv(257, 70%, 45%)
CMYKcmyk(50.4%, 70.4%, 0%, 54.9%)
CIE-LABlab(21.02, 32.07, -42.93)
CIE-LCHlch(21.02, 53.58, 306.76°)
OKLaboklab(33.31% 0.046 -0.123)
OKLCHoklch(33.31% 0.131 290.5)
XYZxyz(5.3530, 3.2515, 16.5619)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392273 #5C7322
analogous
#223473 #392273 #622273
triadic
#392273 #733922 #227339
tetradic
#392273 #732234 #5C7322 #227362
square
#392273 #732234 #5C7322 #227362
split-complementary
#392273 #736222 #347322
monochromatic
#0C0718 #221444 #392273 #5030A2 #6C47C9

Accessibility & contrast

On white

12.72
#392273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#392273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392273
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392273#FFFFFF#000000##FFFFFF
##3922731.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#263647
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392273;
/* rgb */ color: rgb(57, 34, 115);
/* oklch */ color: oklch(33.3% 0.131 290.5);
Tailwind
colors: {
  custom: {
    50: '#755f9c',
    500: '#392273',
    950: '#000000',
  },
}
SCSS
$custom: #392273;
$custom-light: #755f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#392273",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 257.037,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33311,
    "c": 0.13134,
    "h": 290.5
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#392273
secondary
#8CA64B
accent
#DE4AB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392273

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

Preview Lab → · Contrast checker → · Palette generator →

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