#392863#392863

#392863 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.0% C 0.100 H 293.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#392863
RGBrgb(57, 40, 99)
HSLhsl(257, 42%, 27%)
HSVhsv(257, 60%, 39%)
CMYKcmyk(42.4%, 59.6%, 0%, 61.2%)
CIE-LABlab(21.16, 23.31, -32.32)
CIE-LCHlch(21.16, 39.84, 305.80°)
OKLaboklab(33.01% 0.0398 -0.0918)
OKLCHoklch(33.01% 0.1 293.4)
XYZxyz(4.6977, 3.2882, 12.1891)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392863 #526328
analogous
#283563 #392863 #572863
triadic
#392863 #633928 #286339
tetradic
#392863 #632835 #526328 #286357
square
#392863 #632835 #526328 #286357
split-complementary
#392863 #635728 #356328
monochromatic
#0D0916 #201637 #392863 #523A8F #6C4EB7

Accessibility & contrast

On white

12.67
#392863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392863
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392863#FFFFFF#000000##FFFFFF
##3928631.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3465
Deuteranopia (green-blind)
#0F3262
Tritanopia (blue-blind)
#2E3441
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392863;
/* rgb */ color: rgb(57, 40, 99);
/* oklch */ color: oklch(33.0% 0.100 293.4);
Tailwind
colors: {
  custom: {
    50: '#736290',
    500: '#392863',
    950: '#000000',
  },
}
SCSS
$custom: #392863;
$custom-light: #736290;
$custom-dark: #000000;
JSON
{
  "hex": "#392863",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 257.288,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3301,
    "c": 0.10008,
    "h": 293.4
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#392863
secondary
#829651
accent
#D256AE
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #392863

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

Preview Lab → · Contrast checker → · Palette generator →

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