#341175#341175

#341175 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.153 H 290.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#341175
RGBrgb(52, 17, 117)
HSLhsl(261, 75%, 26%)
HSVhsv(261, 85%, 46%)
CMYKcmyk(55.6%, 85.5%, 0%, 54.1%)
CIE-LABlab(17.53, 40.63, -49.96)
CIE-LCHlch(17.53, 64.40, 309.12°)
OKLaboklab(30.77% 0.0522 -0.1437)
OKLCHoklch(30.77% 0.153 290)
XYZxyz(4.8266, 2.4151, 17.0380)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341175 #527511
analogous
#112075 #341175 #661175
triadic
#341175 #753411 #117534
tetradic
#341175 #751120 #527511 #117566
square
#341175 #751120 #527511 #117566
split-complementary
#341175 #756611 #207511
monochromatic
#0C041B #1C0940 #341175 #4C19AA #6422DF

Accessibility & contrast

On white

14.16
#341175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341175
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341175#FFFFFF#000000##FFFFFF
##3411751.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341175;
/* rgb */ color: rgb(52, 17, 117);
/* oklch */ color: oklch(30.8% 0.153 290.0);
Tailwind
colors: {
  custom: {
    50: '#74559e',
    500: '#341175',
    950: '#000000',
  },
}
SCSS
$custom: #341175;
$custom-light: #74559e;
$custom-dark: #000000;
JSON
{
  "hex": "#341175",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 261,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30774,
    "c": 0.1529,
    "h": 290
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#341175
secondary
#83AC36
accent
#F137B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341175

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

Preview Lab → · Contrast checker → · Palette generator →

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