#271053#271053

#271053 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.113 H 292.1°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#271053
RGBrgb(39, 16, 83)
HSLhsl(261, 68%, 19%)
HSVhsv(261, 81%, 33%)
CMYKcmyk(53%, 80.7%, 0%, 67.5%)
CIE-LABlab(12.13, 29.06, -36.37)
CIE-LCHlch(12.13, 46.56, 308.63°)
OKLaboklab(25.55% 0.0424 -0.1044)
OKLCHoklch(25.55% 0.113 292.1)
XYZxyz(2.5829, 1.4264, 8.3212)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271053 #3C5310
analogous
#101B53 #271053 #491053
triadic
#271053 #532710 #105327
tetradic
#271053 #53101B #3C5310 #105349
square
#271053 #53101B #3C5310 #105349
split-complementary
#271053 #534910 #1B5310
monochromatic
#0C051A #0F0620 #271053 #3F1A86 #5724BA

Accessibility & contrast

On white

16.34
#271053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#271053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271053
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271053#FFFFFF#000000##FFFFFF
##2710531.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#192230
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271053;
/* rgb */ color: rgb(39, 16, 83);
/* oklch */ color: oklch(25.6% 0.113 292.1);
Tailwind
colors: {
  custom: {
    50: '#675184',
    500: '#271053',
    950: '#000000',
  },
}
SCSS
$custom: #271053;
$custom-light: #675184;
$custom-dark: #000000;
JSON
{
  "hex": "#271053",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 260.597,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25553,
    "c": 0.11267,
    "h": 292.1
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#271053
secondary
#6E8D32
accent
#EB3DAF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #271053

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

Preview Lab → · Contrast checker → · Palette generator →

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