#341773#341773

#341773 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.145 H 289.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#341773
RGBrgb(52, 23, 115)
HSLhsl(259, 67%, 27%)
HSVhsv(259, 80%, 45%)
CMYKcmyk(54.8%, 80%, 0%, 54.9%)
CIE-LABlab(18.28, 37.27, -47.44)
CIE-LCHlch(18.28, 60.33, 308.15°)
OKLaboklab(31.23% 0.0485 -0.1364)
OKLCHoklch(31.23% 0.145 289.6)
XYZxyz(4.8162, 2.5804, 16.4606)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341773 #567317
analogous
#172873 #341773 #621773
triadic
#341773 #733417 #177334
tetradic
#341773 #731728 #567317 #177362
square
#341773 #731728 #567317 #177362
split-complementary
#341773 #736217 #287317
monochromatic
#0C051A #1D0D40 #341773 #4B21A6 #632FD5

Accessibility & contrast

On white

13.85
#341773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#341773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341773
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341773#FFFFFF#000000##FFFFFF
##3417731.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#1C3144
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341773;
/* rgb */ color: rgb(52, 23, 115);
/* oklch */ color: oklch(31.2% 0.145 289.6);
Tailwind
colors: {
  custom: {
    50: '#73589c',
    500: '#341773',
    950: '#000000',
  },
}
SCSS
$custom: #341773;
$custom-light: #73589c;
$custom-dark: #000000;
JSON
{
  "hex": "#341773",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 258.913,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3123,
    "c": 0.14476,
    "h": 289.6
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#341773
secondary
#87A93D
accent
#EA3EB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341773

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

Preview Lab → · Contrast checker → · Palette generator →

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