#341A75#341A75

#341A75 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.144 H 288.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#341A75
RGBrgb(52, 26, 117)
HSLhsl(257, 64%, 28%)
HSVhsv(257, 78%, 46%)
CMYKcmyk(55.6%, 77.8%, 0%, 54.1%)
CIE-LABlab(19.03, 36.32, -47.50)
CIE-LCHlch(19.03, 59.79, 307.40°)
OKLaboklab(31.82% 0.0454 -0.1366)
OKLCHoklch(31.82% 0.144 288.4)
XYZxyz(4.9955, 2.7530, 17.0943)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A75 #5B751A
analogous
#1A2D75 #341A75 #611A75
triadic
#341A75 #75341A #1A7534
tetradic
#341A75 #751A2D #5B751A #1A7561
square
#341A75 #751A2D #5B751A #1A7561
split-complementary
#341A75 #75611A #2D751A
monochromatic
#0B0619 #1E0F43 #341A75 #4A25A7 #6337D3

Accessibility & contrast

On white

13.54
#341A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#341A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A75
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A75#FFFFFF#000000##FFFFFF
##341A751.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#1A3346
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341a75;
/* rgb */ color: rgb(52, 26, 117);
/* oklch */ color: oklch(31.8% 0.144 288.4);
Tailwind
colors: {
  custom: {
    50: '#735a9e',
    500: '#341a75',
    950: '#000000',
  },
}
SCSS
$custom: #341a75;
$custom-light: #735a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#341a75",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 257.143,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31816,
    "c": 0.14395,
    "h": 288.4
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#341A75
secondary
#8CAA41
accent
#E741B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341A75

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

Preview Lab → · Contrast checker → · Palette generator →

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