#39155A#39155A

#39155A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.117 H 303.7°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#39155A
RGBrgb(57, 21, 90)
HSLhsl(271, 62%, 22%)
HSVhsv(271, 77%, 35%)
CMYKcmyk(36.7%, 76.7%, 0%, 64.7%)
CIE-LABlab(16.23, 32.07, -34.32)
CIE-LCHlch(16.23, 46.97, 313.05°)
OKLaboklab(29.21% 0.0651 -0.0977)
OKLCHoklch(29.21% 0.117 303.7)
XYZxyz(3.8005, 2.1444, 9.8846)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39155A #365A15
analogous
#16155A #39155A #5A1559
triadic
#39155A #5A3915 #155A39
tetradic
#39155A #5A1615 #365A15 #15595A
square
#39155A #5A1615 #365A15 #15595A
split-complementary
#39155A #595A15 #155A16
monochromatic
#100619 #1A0928 #39155A #58218C #782CBD

Accessibility & contrast

On white

14.70
#39155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#39155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39155A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39155A#FFFFFF#000000##FFFFFF
##39155A1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#332536
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39155a;
/* rgb */ color: rgb(57, 21, 90);
/* oklch */ color: oklch(29.2% 0.117 303.7);
Tailwind
colors: {
  custom: {
    50: '#735689',
    500: '#39155a',
    950: '#000000',
  },
}
SCSS
$custom: #39155a;
$custom-light: #735689;
$custom-dark: #000000;
JSON
{
  "hex": "#39155a",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 271.304,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29208,
    "c": 0.11739,
    "h": 303.7
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#39155A
secondary
#639239
accent
#E54390
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39155A

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

Preview Lab → · Contrast checker → · Palette generator →

#39155A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva