#39274F#39274F

#39274F is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.4% C 0.072 H 303.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#39274F
RGBrgb(57, 39, 79)
HSLhsl(267, 34%, 23%)
HSVhsv(267, 51%, 31%)
CMYKcmyk(27.8%, 50.6%, 0%, 69%)
CIE-LABlab(19.58, 17.97, -21.55)
CIE-LCHlch(19.58, 28.05, 309.83°)
OKLaboklab(31.41% 0.0396 -0.0603)
OKLCHoklch(31.41% 0.072 303.3)
XYZxyz(3.8238, 2.8854, 7.7511)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39274F #3D4F27
analogous
#27294F #39274F #4D274F
triadic
#39274F #4F3927 #274F39
tetradic
#39274F #4F2729 #3D4F27 #274F4D
square
#39274F #4F2729 #3D4F27 #274F4D
split-complementary
#39274F #4F4D27 #294F27
monochromatic
#0F0A14 #1B1326 #39274F #573B78 #744FA1

Accessibility & contrast

On white

13.32
#39274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#39274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39274F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39274F#FFFFFF#000000##FFFFFF
##39274F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#352E37
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39274f;
/* rgb */ color: rgb(57, 39, 79);
/* oklch */ color: oklch(31.4% 0.072 303.3);
Tailwind
colors: {
  custom: {
    50: '#706180',
    500: '#39274f',
    950: '#000000',
  },
}
SCSS
$custom: #39274f;
$custom-light: #706180;
$custom-dark: #000000;
JSON
{
  "hex": "#39274f",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 267,
    "s": 33.898,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.07212,
    "h": 303.3
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#39274F
secondary
#6B8250
accent
#CA5E99
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #39274F

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

Preview Lab → · Contrast checker → · Palette generator →

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