#341450#341450

#341450 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.105 H 304.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#341450
RGBrgb(52, 20, 80)
HSLhsl(272, 60%, 20%)
HSVhsv(272, 75%, 31%)
CMYKcmyk(35%, 75%, 0%, 68.6%)
CIE-LABlab(14.45, 28.72, -30.46)
CIE-LCHlch(14.45, 41.87, 313.32°)
OKLaboklab(27.52% 0.0601 -0.0865)
OKLCHoklch(27.52% 0.105 304.8)
XYZxyz(3.1140, 1.8096, 7.7731)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341450 #305014
analogous
#161450 #341450 #50144E
triadic
#341450 #503414 #145034
tetradic
#341450 #501614 #305014 #144E50
square
#341450 #501614 #305014 #144E50
split-complementary
#341450 #4E5014 #145016
monochromatic
#100618 #14081F #341450 #542081 #742CB2

Accessibility & contrast

On white

15.42
#341450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341450
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341450#FFFFFF#000000##FFFFFF
##3414501.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#01254F
Tritanopia (blue-blind)
#2F2230
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341450;
/* rgb */ color: rgb(52, 20, 80);
/* oklch */ color: oklch(27.5% 0.105 304.8);
Tailwind
colors: {
  custom: {
    50: '#6e5482',
    500: '#341450',
    950: '#000000',
  },
}
SCSS
$custom: #341450;
$custom-light: #6e5482;
$custom-dark: #000000;
JSON
{
  "hex": "#341450",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 272,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27519,
    "c": 0.10535,
    "h": 304.8
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#341450
secondary
#5D8838
accent
#E3458F
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #341450

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

Preview Lab → · Contrast checker → · Palette generator →

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