#341250#341250

#341250 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.108 H 305.3°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#341250
RGBrgb(52, 18, 80)
HSLhsl(273, 63%, 19%)
HSVhsv(273, 78%, 31%)
CMYKcmyk(35%, 77.5%, 0%, 68.6%)
CIE-LABlab(14.07, 29.80, -31.08)
CIE-LCHlch(14.07, 43.06, 313.79°)
OKLaboklab(27.25% 0.0626 -0.0883)
OKLCHoklch(27.25% 0.108 305.3)
XYZxyz(3.0801, 1.7419, 7.7618)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341250 #2E5012
analogous
#151250 #341250 #50124D
triadic
#341250 #503412 #125034
tetradic
#341250 #501512 #2E5012 #124D50
square
#341250 #501512 #2E5012 #124D50
split-complementary
#341250 #4D5012 #125015
monochromatic
#100619 #14071E #341250 #541D82 #7528B4

Accessibility & contrast

On white

15.57
#341250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#341250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341250
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341250#FFFFFF#000000##FFFFFF
##3412501.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#2F202F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341250;
/* rgb */ color: rgb(52, 18, 80);
/* oklch */ color: oklch(27.2% 0.108 305.3);
Tailwind
colors: {
  custom: {
    50: '#6f5382',
    500: '#341250',
    950: '#000000',
  },
}
SCSS
$custom: #341250;
$custom-light: #6f5382;
$custom-dark: #000000;
JSON
{
  "hex": "#341250",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 272.903,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27245,
    "c": 0.10824,
    "h": 305.3
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#341250
secondary
#5B8935
accent
#E6418C
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #341250

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

Preview Lab → · Contrast checker → · Palette generator →

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