#341075#341075

#341075 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.154 H 290.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#341075
RGBrgb(52, 16, 117)
HSLhsl(261, 76%, 26%)
HSVhsv(261, 86%, 46%)
CMYKcmyk(55.6%, 86.3%, 0%, 54.1%)
CIE-LABlab(17.39, 41.04, -50.20)
CIE-LCHlch(17.39, 64.84, 309.27°)
OKLaboklab(30.68% 0.0529 -0.1444)
OKLCHoklch(30.68% 0.154 290.1)
XYZxyz(4.8114, 2.3848, 17.0330)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341075 #517510
analogous
#101E75 #341075 #661075
triadic
#341075 #753410 #107534
tetradic
#341075 #75101E #517510 #107566
square
#341075 #75101E #517510 #107566
split-complementary
#341075 #756610 #1E7510
monochromatic
#0C041B #1C093F #341075 #4C17AB #641FE0

Accessibility & contrast

On white

14.22
#341075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341075
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341075#FFFFFF#000000##FFFFFF
##3410751.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#1B2F44
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341075;
/* rgb */ color: rgb(52, 16, 117);
/* oklch */ color: oklch(30.7% 0.154 290.1);
Tailwind
colors: {
  custom: {
    50: '#74559e',
    500: '#341075',
    950: '#000000',
  },
}
SCSS
$custom: #341075;
$custom-light: #74559e;
$custom-dark: #000000;
JSON
{
  "hex": "#341075",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 261.386,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30677,
    "c": 0.15374,
    "h": 290.1
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#341075
secondary
#82AC35
accent
#F335AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341075

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

Preview Lab → · Contrast checker → · Palette generator →

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