#392268#392268

#392268 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.4% C 0.117 H 294.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#392268
RGBrgb(57, 34, 104)
HSLhsl(260, 51%, 27%)
HSVhsv(260, 67%, 41%)
CMYKcmyk(45.2%, 67.3%, 0%, 59.2%)
CIE-LABlab(20.10, 28.68, -37.31)
CIE-LCHlch(20.10, 47.05, 307.55°)
OKLaboklab(32.35% 0.0475 -0.1065)
OKLCHoklch(32.35% 0.117 294)
XYZxyz(4.7574, 3.0133, 13.4250)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392268 #516822
analogous
#222E68 #392268 #5C2268
triadic
#392268 #683922 #226839
tetradic
#392268 #68222E #516822 #22685C
square
#392268 #68222E #516822 #22685C
split-complementary
#392268 #685C22 #2E6822
monochromatic
#0D0817 #20133A #392268 #523196 #6C43C2

Accessibility & contrast

On white

13.10
#392268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#392268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392268
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392268#FFFFFF#000000##FFFFFF
##3922681.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#2C3241
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #392268;
/* rgb */ color: rgb(57, 34, 104);
/* oklch */ color: oklch(32.4% 0.117 294.0);
Tailwind
colors: {
  custom: {
    50: '#745e94',
    500: '#392268',
    950: '#000000',
  },
}
SCSS
$custom: #392268;
$custom-light: #745e94;
$custom-dark: #000000;
JSON
{
  "hex": "#392268",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 259.714,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32352,
    "c": 0.1166,
    "h": 294
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#392268
secondary
#819C4A
accent
#DA4EAC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #392268

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

Preview Lab → · Contrast checker → · Palette generator →

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