#39274A#39274A

#39274A is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.1% C 0.065 H 306.7°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#39274A
RGBrgb(57, 39, 74)
HSLhsl(271, 31%, 22%)
HSVhsv(271, 47%, 29%)
CMYKcmyk(23%, 47.3%, 0%, 71%)
CIE-LABlab(19.29, 16.56, -18.62)
CIE-LCHlch(19.29, 24.92, 311.66°)
OKLaboklab(31.09% 0.0386 -0.0518)
OKLCHoklch(31.09% 0.065 306.7)
XYZxyz(3.6486, 2.8153, 6.8284)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39274A #384A27
analogous
#28274A #39274A #4A274A
triadic
#39274A #4A3927 #274A39
tetradic
#39274A #4A2827 #384A27 #274A4A
square
#39274A #4A2827 #384A27 #274A4A
split-complementary
#39274A #4A4A27 #274A28
monochromatic
#0F0B14 #1A1222 #39274A #583C72 #77519A

Accessibility & contrast

On white

13.44
#39274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#39274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39274A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39274A#FFFFFF#000000##FFFFFF
##39274A1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2E4B
Deuteranopia (green-blind)
#232F49
Tritanopia (blue-blind)
#372D35
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39274a;
/* rgb */ color: rgb(57, 39, 74);
/* oklch */ color: oklch(31.1% 0.065 306.7);
Tailwind
colors: {
  custom: {
    50: '#70617c',
    500: '#39274a',
    950: '#000000',
  },
}
SCSS
$custom: #39274a;
$custom-light: #70617c;
$custom-dark: #000000;
JSON
{
  "hex": "#39274a",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 270.857,
    "s": 30.973,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.06461,
    "h": 306.7
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#39274A
secondary
#667D50
accent
#C76192
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070509
muted
#7A797B

Preview Lab

Preview with #39274A

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

Preview Lab → · Contrast checker → · Palette generator →

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