#271083#271083

#271083 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 31.0% C 0.172 H 278.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#271083
RGBrgb(39, 16, 131)
HSLhsl(252, 78%, 29%)
HSVhsv(252, 88%, 51%)
CMYKcmyk(70.2%, 87.8%, 0%, 48.6%)
CIE-LABlab(17.65, 43.78, -58.76)
CIE-LCHlch(17.65, 73.27, 306.69°)
OKLaboklab(31% 0.0258 -0.1697)
OKLCHoklch(31% 0.172 278.6)
XYZxyz(5.1174, 2.4402, 21.6696)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271083 #6C8310
analogous
#103383 #271083 #611083
triadic
#271083 #832710 #108327
tetradic
#271083 #831033 #6C8310 #108361
square
#271083 #831033 #6C8310 #108361
split-complementary
#271083 #836110 #338310
monochromatic
#08031B #17094C #271083 #3717BA #4E29E5

Accessibility & contrast

On white

14.11
#271083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#271083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271083
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271083#FFFFFF#000000##FFFFFF
##2710831.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F86
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00364C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #271083;
/* rgb */ color: rgb(39, 16, 131);
/* oklch */ color: oklch(31.0% 0.172 278.6);
Tailwind
colors: {
  custom: {
    50: '#7154a8',
    500: '#271083',
    950: '#000000',
  },
}
SCSS
$custom: #271083;
$custom-light: #7154a8;
$custom-dark: #000000;
JSON
{
  "hex": "#271083",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 252,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.17161,
    "h": 278.6
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#271083
secondary
#9FB936
accent
#F533CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #271083

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

Preview Lab → · Contrast checker → · Palette generator →

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