#271483#271483

#271483 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.169 H 278.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#271483
RGBrgb(39, 20, 131)
HSLhsl(250, 74%, 30%)
HSVhsv(250, 85%, 51%)
CMYKcmyk(70.2%, 84.7%, 0%, 48.6%)
CIE-LABlab(18.23, 42.05, -57.79)
CIE-LCHlch(18.23, 71.47, 306.04°)
OKLaboklab(31.41% 0.0242 -0.1669)
OKLCHoklch(31.41% 0.169 278.2)
XYZxyz(5.1823, 2.5699, 21.6913)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271483 #708314
analogous
#143983 #271483 #5F1483
triadic
#271483 #832714 #148327
tetradic
#271483 #831439 #708314 #14835F
square
#271483 #831439 #708314 #14835F
split-complementary
#271483 #835F14 #398314
monochromatic
#08041B #170C4E #271483 #371CB8 #5032E0

Accessibility & contrast

On white

13.87
#271483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#271483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271483
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271483#FFFFFF#000000##FFFFFF
##2714831.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #271483;
/* rgb */ color: rgb(39, 20, 131);
/* oklch */ color: oklch(31.4% 0.169 278.2);
Tailwind
colors: {
  custom: {
    50: '#7156a8',
    500: '#271483',
    950: '#000000',
  },
}
SCSS
$custom: #271483;
$custom-light: #7156a8;
$custom-dark: #000000;
JSON
{
  "hex": "#271483",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 131
  },
  "hsl": {
    "h": 250.27,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.16865,
    "h": 278.2
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#271483
secondary
#A2B83B
accent
#F038D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #271483

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

Preview Lab → · Contrast checker → · Palette generator →

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