#341150#341150

#341150 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.110 H 305.5°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#341150
RGBrgb(52, 17, 80)
HSLhsl(273, 65%, 19%)
HSVhsv(273, 79%, 31%)
CMYKcmyk(35%, 78.8%, 0%, 68.6%)
CIE-LABlab(13.89, 30.32, -31.38)
CIE-LCHlch(13.89, 43.63, 314.01°)
OKLaboklab(27.11% 0.0637 -0.0892)
OKLCHoklch(27.11% 0.11 305.5)
XYZxyz(3.0643, 1.7102, 7.7565)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341150 #2D5011
analogous
#151150 #341150 #50114D
triadic
#341150 #503411 #115034
tetradic
#341150 #501511 #2D5011 #114D50
square
#341150 #501511 #2D5011 #114D50
split-complementary
#341150 #4D5011 #115015
monochromatic
#100519 #13061E #341150 #551C82 #7626B5

Accessibility & contrast

On white

15.65
#341150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#341150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##341150#FFFFFF#000000##FFFFFF
##3411501.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)
#002252
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#2F202F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #341150;
/* rgb */ color: rgb(52, 17, 80);
/* oklch */ color: oklch(27.1% 0.110 305.5);
Tailwind
colors: {
  custom: {
    50: '#6f5382',
    500: '#341150',
    950: '#000000',
  },
}
SCSS
$custom: #341150;
$custom-light: #6f5382;
$custom-dark: #000000;
JSON
{
  "hex": "#341150",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 273.333,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27114,
    "c": 0.10962,
    "h": 305.5
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#341150
secondary
#5A8933
accent
#E8408B
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #341150

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

Preview Lab → · Contrast checker → · Palette generator →

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