#271350#271350

#271350 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.105 H 292.5°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#271350
RGBrgb(39, 19, 80)
HSLhsl(260, 62%, 19%)
HSVhsv(260, 76%, 31%)
CMYKcmyk(51.2%, 76.3%, 0%, 68.6%)
CIE-LABlab(12.46, 26.38, -33.79)
CIE-LCHlch(12.46, 42.87, 307.98°)
OKLaboklab(25.69% 0.0401 -0.0968)
OKLCHoklch(25.69% 0.105 292.5)
XYZxyz(2.5171, 1.4762, 7.7402)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271350 #3C5013
analogous
#131E50 #271350 #461350
triadic
#271350 #502713 #135027
tetradic
#271350 #50131E #3C5013 #135046
square
#271350 #50131E #3C5013 #135046
split-complementary
#271350 #504613 #1E5013
monochromatic
#0C0619 #0F071F #271350 #3F1F81 #572AB3

Accessibility & contrast

On white

16.21
#271350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271350
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271350#FFFFFF#000000##FFFFFF
##2713501.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#1A222F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271350;
/* rgb */ color: rgb(39, 19, 80);
/* oklch */ color: oklch(25.7% 0.105 292.5);
Tailwind
colors: {
  custom: {
    50: '#665282',
    500: '#271350',
    950: '#000000',
  },
}
SCSS
$custom: #271350;
$custom-light: #665282;
$custom-dark: #000000;
JSON
{
  "hex": "#271350",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 259.672,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25691,
    "c": 0.10477,
    "h": 292.5
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#271350
secondary
#6E8936
accent
#E543B0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #271350

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

Preview Lab → · Contrast checker → · Palette generator →

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