#34253D#34253D

#34253D is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.3% C 0.047 H 312.2°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#34253D
RGBrgb(52, 37, 61)
HSLhsl(278, 24%, 19%)
HSVhsv(278, 39%, 24%)
CMYKcmyk(14.8%, 39.3%, 0%, 76.1%)
CIE-LABlab(17.41, 12.57, -12.65)
CIE-LCHlch(17.41, 17.83, 314.80°)
OKLaboklab(29.3% 0.0316 -0.0348)
OKLCHoklch(29.3% 0.047 312.2)
XYZxyz(2.9199, 2.3902, 4.7215)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34253D #2E3D25
analogous
#28253D #34253D #3D253A
triadic
#34253D #3D3425 #253D34
tetradic
#34253D #3D2825 #2E3D25 #253A3D
square
#34253D #3D2825 #2E3D25 #253A3D
split-complementary
#34253D #3A3D25 #253D28
monochromatic
#100C13 #140E17 #34253D #543C63 #755389

Accessibility & contrast

On white

14.21
#34253D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#34253D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34253D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34253D#FFFFFF#000000##FFFFFF
##34253D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3E
Deuteranopia (green-blind)
#242B3C
Tritanopia (blue-blind)
#33282E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #34253d;
/* rgb */ color: rgb(52, 37, 61);
/* oklch */ color: oklch(29.3% 0.047 312.2);
Tailwind
colors: {
  custom: {
    50: '#6c5f72',
    500: '#34253d',
    950: '#000000',
  },
}
SCSS
$custom: #34253d;
$custom-light: #6c5f72;
$custom-dark: #000000;
JSON
{
  "hex": "#34253d",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 61
  },
  "hsl": {
    "h": 277.5,
    "s": 24.49,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29305,
    "c": 0.04697,
    "h": 312.2
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#34253D
secondary
#5B6F4F
accent
#C16789
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070408
muted
#7A797B

Preview Lab

Preview with #34253D

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

Preview Lab → · Contrast checker → · Palette generator →

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