#39274E#39274E

#39274E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.3% C 0.071 H 303.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#39274E
RGBrgb(57, 39, 78)
HSLhsl(268, 33%, 23%)
HSVhsv(268, 50%, 31%)
CMYKcmyk(26.9%, 50%, 0%, 69.4%)
CIE-LABlab(19.52, 17.68, -20.96)
CIE-LCHlch(19.52, 27.43, 310.15°)
OKLaboklab(31.34% 0.0394 -0.0586)
OKLCHoklch(31.34% 0.071 303.9)
XYZxyz(3.7877, 2.8710, 7.5609)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39274E #3C4E27
analogous
#27294E #39274E #4C274E
triadic
#39274E #4E3927 #274E39
tetradic
#39274E #4E2729 #3C4E27 #274E4C
square
#39274E #4E2729 #3C4E27 #274E4C
split-complementary
#39274E #4E4C27 #294E27
monochromatic
#0F0A14 #1B1325 #39274E #573B77 #7550A0

Accessibility & contrast

On white

13.34
#39274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#39274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39274E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39274E#FFFFFF#000000##FFFFFF
##39274E1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#352E36
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39274e;
/* rgb */ color: rgb(57, 39, 78);
/* oklch */ color: oklch(31.3% 0.071 303.9);
Tailwind
colors: {
  custom: {
    50: '#706180',
    500: '#39274e',
    950: '#000000',
  },
}
SCSS
$custom: #39274e;
$custom-light: #706180;
$custom-dark: #000000;
JSON
{
  "hex": "#39274e",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 267.692,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31341,
    "c": 0.07062,
    "h": 303.9
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#39274E
secondary
#6A8150
accent
#C95E98
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #39274E

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

Preview Lab → · Contrast checker → · Palette generator →

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