#3923A7#3923A7

#3923A7 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.195 H 279.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3923A7
RGBrgb(57, 35, 167)
HSLhsl(250, 65%, 40%)
HSVhsv(250, 79%, 65%)
CMYKcmyk(65.9%, 79%, 0%, 34.5%)
CIE-LABlab(26.34, 47.60, -66.58)
CIE-LCHlch(26.34, 81.84, 305.56°)
OKLaboklab(38.62% 0.0328 -0.1922)
OKLCHoklch(38.62% 0.195 279.7)
XYZxyz(9.2612, 4.8612, 37.0020)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3923A7 #91A723
analogous
#234FA7 #3923A7 #7B23A7
triadic
#3923A7 #A73923 #23A739
tetradic
#3923A7 #A7234F #91A723 #23A77B
square
#3923A7 #A7234F #91A723 #23A77B
split-complementary
#3923A7 #A77B23 #4FA723
monochromatic
#160E42 #281874 #3923A7 #4E33D4 #7A66DF

Accessibility & contrast

On white

10.65
#3923A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3923A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3923A7
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3923A7#FFFFFF#000000##FFFFFF
##3923A71.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3923a7;
/* rgb */ color: rgb(57, 35, 167);
/* oklch */ color: oklch(38.6% 0.195 279.7);
Tailwind
colors: {
  custom: {
    50: '#7f62c2',
    500: '#3923a7',
    950: '#000000',
  },
}
SCSS
$custom: #3923a7;
$custom-light: #7f62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3923a7",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 250,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38615,
    "c": 0.195,
    "h": 279.7
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#3923A7
secondary
#B4C461
accent
#E83FCC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3923A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3923A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva