#341845#341845

#341845 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.085 H 310.7°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#341845
RGBrgb(52, 24, 69)
HSLhsl(277, 48%, 18%)
HSVhsv(277, 65%, 27%)
CMYKcmyk(24.6%, 65.2%, 0%, 72.9%)
CIE-LABlab(14.47, 23.38, -22.84)
CIE-LCHlch(14.47, 32.68, 315.66°)
OKLaboklab(27.27% 0.0552 -0.0642)
OKLCHoklch(27.27% 0.085 310.7)
XYZxyz(2.8168, 1.8131, 5.8306)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341845 #294518
analogous
#1D1845 #341845 #45183F
triadic
#341845 #453418 #184534
tetradic
#341845 #451D18 #294518 #183F45
square
#341845 #451D18 #294518 #183F45
split-complementary
#341845 #3F4518 #18451D
monochromatic
#110817 #120818 #341845 #562872 #7838A0

Accessibility & contrast

On white

15.41
#341845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#341845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341845
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341845#FFFFFF#000000##FFFFFF
##3418451.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092346
Deuteranopia (green-blind)
#142544
Tritanopia (blue-blind)
#32202B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341845;
/* rgb */ color: rgb(52, 24, 69);
/* oklch */ color: oklch(27.3% 0.085 310.7);
Tailwind
colors: {
  custom: {
    50: '#6d5679',
    500: '#341845',
    950: '#000000',
  },
}
SCSS
$custom: #341845;
$custom-light: #6d5679;
$custom-dark: #000000;
JSON
{
  "hex": "#341845",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 277.333,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27266,
    "c": 0.08467,
    "h": 310.7
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#341845
secondary
#557C3D
accent
#D85083
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #341845

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

Preview Lab → · Contrast checker → · Palette generator →

#341845 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva