#271346#271346

#271346 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.091 H 297.3°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#271346
RGBrgb(39, 19, 70)
HSLhsl(264, 57%, 17%)
HSVhsv(264, 73%, 27%)
CMYKcmyk(44.3%, 72.9%, 0%, 72.5%)
CIE-LABlab(11.55, 23.21, -28.35)
CIE-LCHlch(11.55, 36.64, 309.31°)
OKLaboklab(24.76% 0.0417 -0.0808)
OKLCHoklch(24.76% 0.091 297.3)
XYZxyz(2.1748, 1.3392, 5.9371)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271346 #324613
analogous
#131946 #271346 #401346
triadic
#271346 #462713 #134627
tetradic
#271346 #461319 #324613 #134640
square
#271346 #461319 #324613 #134640
split-complementary
#271346 #464013 #194613
monochromatic
#0D0718 #0D0718 #271346 #422076 #5D2DA6

Accessibility & contrast

On white

16.56
#271346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#271346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271346
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271346#FFFFFF#000000##FFFFFF
##2713461.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#1F1F2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #271346;
/* rgb */ color: rgb(39, 19, 70);
/* oklch */ color: oklch(24.8% 0.091 297.3);
Tailwind
colors: {
  custom: {
    50: '#64527a',
    500: '#271346',
    950: '#000000',
  },
}
SCSS
$custom: #271346;
$custom-light: #64527a;
$custom-dark: #000000;
JSON
{
  "hex": "#271346",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 263.529,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24755,
    "c": 0.09095,
    "h": 297.3
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#271346
secondary
#627F36
accent
#E147A4
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #271346

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

Preview Lab → · Contrast checker → · Palette generator →

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