#34183C#34183C

#34183C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.6% C 0.073 H 318.3°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#34183C
RGBrgb(52, 24, 60)
HSLhsl(287, 43%, 16%)
HSVhsv(287, 60%, 24%)
CMYKcmyk(13.3%, 60%, 0%, 76.5%)
CIE-LABlab(13.88, 21.04, -17.47)
CIE-LCHlch(13.88, 27.34, 320.30°)
OKLaboklab(26.64% 0.0545 -0.0485)
OKLCHoklch(26.64% 0.073 318.3)
XYZxyz(2.5583, 1.7097, 4.4693)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34183C #203C18
analogous
#22183C #34183C #3C1832
triadic
#34183C #3C3418 #183C34
tetradic
#34183C #3C2218 #203C18 #18323C
square
#34183C #3C2218 #203C18 #18323C
split-complementary
#34183C #323C18 #183C22
monochromatic
#130916 #130916 #34183C #5A2968 #803B93

Accessibility & contrast

On white

15.65
#34183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#34183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34183C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34183C#FFFFFF#000000##FFFFFF
##34183C1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213D
Deuteranopia (green-blind)
#1A243B
Tritanopia (blue-blind)
#341D27
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34183c;
/* rgb */ color: rgb(52, 24, 60);
/* oklch */ color: oklch(26.6% 0.073 318.3);
Tailwind
colors: {
  custom: {
    50: '#6d5672',
    500: '#34183c',
    950: '#000000',
  },
}
SCSS
$custom: #34183c;
$custom-light: #6d5672;
$custom-dark: #000000;
JSON
{
  "hex": "#34183c",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 286.667,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26641,
    "c": 0.07298,
    "h": 318.3
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#34183C
secondary
#49723E
accent
#D35571
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #34183C

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

Preview Lab → · Contrast checker → · Palette generator →

#34183C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva