#341775#341775

#341775 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.147 H 289.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#341775
RGBrgb(52, 23, 117)
HSLhsl(259, 67%, 27%)
HSVhsv(259, 80%, 46%)
CMYKcmyk(55.6%, 80.3%, 0%, 54.1%)
CIE-LABlab(18.48, 37.86, -48.39)
CIE-LCHlch(18.48, 61.45, 308.04°)
OKLaboklab(31.44% 0.0479 -0.1392)
OKLCHoklch(31.44% 0.147 289)
XYZxyz(4.9325, 2.6270, 17.0733)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341775 #587517
analogous
#172975 #341775 #631775
triadic
#341775 #753417 #177534
tetradic
#341775 #751729 #587517 #177563
square
#341775 #751729 #587517 #177563
split-complementary
#341775 #756317 #297517
monochromatic
#0B051A #1D0D42 #341775 #4B21A8 #6330D6

Accessibility & contrast

On white

13.77
#341775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#341775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341775
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341775#FFFFFF#000000##FFFFFF
##3417751.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#1B3245
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341775;
/* rgb */ color: rgb(52, 23, 117);
/* oklch */ color: oklch(31.4% 0.147 289.0);
Tailwind
colors: {
  custom: {
    50: '#74589e',
    500: '#341775',
    950: '#000000',
  },
}
SCSS
$custom: #341775;
$custom-light: #74589e;
$custom-dark: #000000;
JSON
{
  "hex": "#341775",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 258.511,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31436,
    "c": 0.14718,
    "h": 289
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#341775
secondary
#89AA3D
accent
#EA3EB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341775

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

Preview Lab → · Contrast checker → · Palette generator →

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