#341A73#341A73

#341A73 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.141 H 289.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#341A73
RGBrgb(52, 26, 115)
HSLhsl(258, 63%, 28%)
HSVhsv(258, 77%, 45%)
CMYKcmyk(54.8%, 77.4%, 0%, 54.9%)
CIE-LABlab(18.83, 35.71, -46.54)
CIE-LCHlch(18.83, 58.66, 307.50°)
OKLaboklab(31.62% 0.046 -0.1338)
OKLCHoklch(31.62% 0.141 289)
XYZxyz(4.8792, 2.7064, 16.4816)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A73 #59731A
analogous
#1A2C73 #341A73 #601A73
triadic
#341A73 #73341A #1A7334
tetradic
#341A73 #731A2C #59731A #1A7360
square
#341A73 #731A2C #59731A #1A7360
split-complementary
#341A73 #73601A #2C731A
monochromatic
#0B0619 #1D0F41 #341A73 #4B25A5 #6336D2

Accessibility & contrast

On white

13.62
#341A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#341A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A73
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A73#FFFFFF#000000##FFFFFF
##341A731.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#1C3245
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341a73;
/* rgb */ color: rgb(52, 26, 115);
/* oklch */ color: oklch(31.6% 0.141 289.0);
Tailwind
colors: {
  custom: {
    50: '#73599c',
    500: '#341a73',
    950: '#000000',
  },
}
SCSS
$custom: #341a73;
$custom-light: #73599c;
$custom-dark: #000000;
JSON
{
  "hex": "#341a73",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 257.528,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.14145,
    "h": 289
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#341A73
secondary
#8AA841
accent
#E642B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341A73

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

Preview Lab → · Contrast checker → · Palette generator →

#341A73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva