#341875#341875

#341875 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.146 H 288.8°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#341875
RGBrgb(52, 24, 117)
HSLhsl(258, 66%, 28%)
HSVhsv(258, 79%, 46%)
CMYKcmyk(55.6%, 79.5%, 0%, 54.1%)
CIE-LABlab(18.66, 37.36, -48.11)
CIE-LCHlch(18.66, 60.91, 307.84°)
OKLaboklab(31.56% 0.0471 -0.1383)
OKLCHoklch(31.56% 0.146 288.8)
XYZxyz(4.9528, 2.6674, 17.0801)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341875 #597518
analogous
#182A75 #341875 #631875
triadic
#341875 #753418 #187534
tetradic
#341875 #75182A #597518 #187563
square
#341875 #75182A #597518 #187563
split-complementary
#341875 #756318 #2A7518
monochromatic
#0B0519 #1D0E42 #341875 #4B22A8 #6332D5

Accessibility & contrast

On white

13.69
#341875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341875
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341875#FFFFFF#000000##FFFFFF
##3418751.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341875;
/* rgb */ color: rgb(52, 24, 117);
/* oklch */ color: oklch(31.6% 0.146 288.8);
Tailwind
colors: {
  custom: {
    50: '#74589e',
    500: '#341875',
    950: '#000000',
  },
}
SCSS
$custom: #341875;
$custom-light: #74589e;
$custom-dark: #000000;
JSON
{
  "hex": "#341875",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 258.065,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31559,
    "c": 0.14614,
    "h": 288.8
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#341875
secondary
#8AAA3F
accent
#E93FB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341875

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

Preview Lab → · Contrast checker → · Palette generator →

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