#39274D#39274D

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

Color values

HEX#39274D
RGBrgb(57, 39, 77)
HSLhsl(268, 33%, 23%)
HSVhsv(268, 49%, 30%)
CMYKcmyk(26%, 49.4%, 0%, 69.8%)
CIE-LABlab(19.46, 17.40, -20.38)
CIE-LCHlch(19.46, 26.80, 310.49°)
OKLaboklab(31.28% 0.0392 -0.0569)
OKLCHoklch(31.28% 0.069 304.6)
XYZxyz(3.7521, 2.8567, 7.3735)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39274D #3B4D27
analogous
#27284D #39274D #4C274D
triadic
#39274D #4D3927 #274D39
tetradic
#39274D #4D2728 #3B4D27 #274D4C
square
#39274D #4D2728 #3B4D27 #274D4C
split-complementary
#39274D #4D4C27 #284D27
monochromatic
#0F0A14 #1B1224 #39274D #573C76 #75509E

Accessibility & contrast

On white

13.36
#39274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39274D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39274D#FFFFFF#000000##FFFFFF
##39274D1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4E
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#362D36
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39274d;
/* rgb */ color: rgb(57, 39, 77);
/* oklch */ color: oklch(31.3% 0.069 304.6);
Tailwind
colors: {
  custom: {
    50: '#70617f',
    500: '#39274d',
    950: '#000000',
  },
}
SCSS
$custom: #39274d;
$custom-light: #70617f;
$custom-dark: #000000;
JSON
{
  "hex": "#39274d",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 268.421,
    "s": 32.759,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31278,
    "c": 0.06911,
    "h": 304.6
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#39274D
secondary
#698050
accent
#C95F97
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #39274D

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

Preview Lab → · Contrast checker → · Palette generator →

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