#271353#271353

#271353 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.109 H 291.2°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#271353
RGBrgb(39, 19, 83)
HSLhsl(259, 63%, 20%)
HSVhsv(259, 77%, 33%)
CMYKcmyk(53%, 77.1%, 0%, 67.5%)
CIE-LABlab(12.74, 27.34, -35.37)
CIE-LCHlch(12.74, 44.71, 307.71°)
OKLaboklab(25.99% 0.0394 -0.1014)
OKLCHoklch(25.99% 0.109 291.2)
XYZxyz(2.6305, 1.5215, 8.3370)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271353 #3F5313
analogous
#131F53 #271353 #471353
triadic
#271353 #532713 #135327
tetradic
#271353 #53131F #3F5313 #135347
square
#271353 #53131F #3F5313 #135347
split-complementary
#271353 #534713 #1F5313
monochromatic
#0C0619 #100821 #271353 #3E1E85 #562AB7

Accessibility & contrast

On white

16.10
#271353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#271353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271353
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271353#FFFFFF#000000##FFFFFF
##2713531.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#192431
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #271353;
/* rgb */ color: rgb(39, 19, 83);
/* oklch */ color: oklch(26.0% 0.109 291.2);
Tailwind
colors: {
  custom: {
    50: '#665284',
    500: '#271353',
    950: '#000000',
  },
}
SCSS
$custom: #271353;
$custom-light: #665284;
$custom-dark: #000000;
JSON
{
  "hex": "#271353",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 258.75,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.25986,
    "c": 0.10883,
    "h": 291.2
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#271353
secondary
#718B36
accent
#E642B3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #271353

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

Preview Lab → · Contrast checker → · Palette generator →

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