#38344A#38344A

#38344A is a dark, muted violet. Relative luminance 0.038; OKLCH L 33.9% C 0.038 H 292.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#38344A
RGBrgb(56, 52, 74)
HSLhsl(251, 17%, 25%)
HSVhsv(251, 30%, 29%)
CMYKcmyk(24.3%, 29.7%, 0%, 71%)
CIE-LABlab(22.97, 7.31, -12.91)
CIE-LCHlch(22.97, 14.83, 299.53°)
OKLaboklab(33.87% 0.0148 -0.0355)
OKLCHoklch(33.87% 0.038 292.6)
XYZxyz(4.0946, 3.7911, 6.9933)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38344A #464A34
analogous
#343B4A #38344A #43344A
triadic
#38344A #4A3834 #344A38
tetradic
#38344A #4A343B #464A34 #344A43
square
#38344A #4A343B #464A34 #344A43
split-complementary
#38344A #4A4334 #3B4A34
monochromatic
#0E0D12 #1D1B26 #38344A #534D6E #6E6792

Accessibility & contrast

On white

11.94
#38344A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#38344A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38344A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38344A#FFFFFF#000000##FFFFFF
##38344A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374B
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#34383C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #38344a;
/* rgb */ color: rgb(56, 52, 74);
/* oklch */ color: oklch(33.9% 0.038 292.6);
Tailwind
colors: {
  custom: {
    50: '#6f6b7c',
    500: '#38344a',
    950: '#000000',
  },
}
SCSS
$custom: #38344a;
$custom-light: #6f6b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#38344a",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 74
  },
  "hsl": {
    "h": 250.909,
    "s": 17.46,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33873,
    "c": 0.03846,
    "h": 292.6
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#38344A
secondary
#757A60
accent
#BA6EAC
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #38344A

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

Preview Lab → · Contrast checker → · Palette generator →

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