#341249#341249

#341249 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.100 H 309.6°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#341249
RGBrgb(52, 18, 73)
HSLhsl(277, 60%, 18%)
HSVhsv(277, 75%, 29%)
CMYKcmyk(28.8%, 75.3%, 0%, 71.4%)
CIE-LABlab(13.49, 27.93, -27.19)
CIE-LCHlch(13.49, 38.98, 315.76°)
OKLaboklab(26.65% 0.0636 -0.0769)
OKLCHoklch(26.65% 0.1 309.6)
XYZxyz(2.8348, 1.6438, 6.4700)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341249 #274912
analogous
#181249 #341249 #491242
triadic
#341249 #493412 #124934
tetradic
#341249 #491812 #274912 #124249
square
#341249 #491812 #274912 #124249
split-complementary
#341249 #424912 #124918
monochromatic
#110619 #110619 #341249 #571E7A #7A2AAB

Accessibility & contrast

On white

15.80
#341249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#341249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341249
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341249#FFFFFF#000000##FFFFFF
##3412491.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#092348
Tritanopia (blue-blind)
#311E2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #341249;
/* rgb */ color: rgb(52, 18, 73);
/* oklch */ color: oklch(26.7% 0.100 309.6);
Tailwind
colors: {
  custom: {
    50: '#6e537c',
    500: '#341249',
    950: '#000000',
  },
}
SCSS
$custom: #341249;
$custom-light: #6e537c;
$custom-dark: #000000;
JSON
{
  "hex": "#341249",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 277.091,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26652,
    "c": 0.0998,
    "h": 309.6
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#341249
secondary
#528235
accent
#E44481
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #341249

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

Preview Lab → · Contrast checker → · Palette generator →

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