#3923A1#3923A1

#3923A1 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.188 H 280.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3923A1
RGBrgb(57, 35, 161)
HSLhsl(250, 64%, 38%)
HSVhsv(250, 78%, 63%)
CMYKcmyk(64.6%, 78.3%, 0%, 36.9%)
CIE-LABlab(25.70, 45.77, -63.99)
CIE-LCHlch(25.70, 78.68, 305.58°)
OKLaboklab(37.98% 0.0345 -0.1847)
OKLCHoklch(37.98% 0.188 280.6)
XYZxyz(8.7194, 4.6445, 34.1483)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3923A1 #8BA123
analogous
#234CA1 #3923A1 #7823A1
triadic
#3923A1 #A13923 #23A139
tetradic
#3923A1 #A1234C #8BA123 #23A178
square
#3923A1 #A1234C #8BA123 #23A178
split-complementary
#3923A1 #A17823 #4CA123
monochromatic
#150D3C #27186F #3923A1 #4C2FD2 #7762DD

Accessibility & contrast

On white

10.89
#3923A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3923A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3923A1
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3923A1#FFFFFF#000000##FFFFFF
##3923A11.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3923a1;
/* rgb */ color: rgb(57, 35, 161);
/* oklch */ color: oklch(38.0% 0.188 280.6);
Tailwind
colors: {
  custom: {
    50: '#7e62be',
    500: '#3923a1',
    950: '#000000',
  },
}
SCSS
$custom: #3923a1;
$custom-light: #7e62be;
$custom-dark: #000000;
JSON
{
  "hex": "#3923a1",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 250.476,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.18788,
    "h": 280.6
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#3923A1
secondary
#B0C25E
accent
#E741CA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3923A1

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

Preview Lab → · Contrast checker → · Palette generator →

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