#271055#271055

#271055 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.115 H 291.3°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#271055
RGBrgb(39, 16, 85)
HSLhsl(260, 68%, 20%)
HSVhsv(260, 81%, 33%)
CMYKcmyk(54.1%, 81.2%, 0%, 66.7%)
CIE-LABlab(12.34, 29.69, -37.40)
CIE-LCHlch(12.34, 47.75, 308.44°)
OKLaboklab(25.76% 0.0419 -0.1074)
OKLCHoklch(25.76% 0.115 291.3)
XYZxyz(2.6612, 1.4577, 8.7337)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271055 #3E5510
analogous
#101C55 #271055 #4A1055
triadic
#271055 #552710 #105527
tetradic
#271055 #55101C #3E5510 #10554A
square
#271055 #55101C #3E5510 #10554A
split-complementary
#271055 #554A10 #1C5510
monochromatic
#0C051A #0F0621 #271055 #3F1A89 #5623BC

Accessibility & contrast

On white

16.26
#271055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271055
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271055#FFFFFF#000000##FFFFFF
##2710551.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#172331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271055;
/* rgb */ color: rgb(39, 16, 85);
/* oklch */ color: oklch(25.8% 0.115 291.3);
Tailwind
colors: {
  custom: {
    50: '#675186',
    500: '#271055',
    950: '#000000',
  },
}
SCSS
$custom: #271055;
$custom-light: #675186;
$custom-dark: #000000;
JSON
{
  "hex": "#271055",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 260,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25759,
    "c": 0.11525,
    "h": 291.3
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#271055
secondary
#708F32
accent
#EB3DB1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #271055

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

Preview Lab → · Contrast checker → · Palette generator →

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