#271360#271360

#271360 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.126 H 286.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#271360
RGBrgb(39, 19, 96)
HSLhsl(256, 67%, 23%)
HSVhsv(256, 80%, 38%)
CMYKcmyk(59.4%, 80.2%, 0%, 62.4%)
CIE-LABlab(14.07, 31.52, -41.96)
CIE-LCHlch(14.07, 52.48, 306.91°)
OKLaboklab(27.33% 0.036 -0.1208)
OKLCHoklch(27.33% 0.126 286.6)
XYZxyz(3.1803, 1.7414, 11.2326)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271360 #4C6013
analogous
#132660 #271360 #4D1360
triadic
#271360 #602713 #136027
tetradic
#271360 #601326 #4C6013 #13604D
square
#271360 #601326 #4C6013 #13604D
split-complementary
#271360 #604D13 #266013
monochromatic
#0A051A #12092D #271360 #3C1D93 #5127C6

Accessibility & contrast

On white

15.57
#271360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#271360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271360
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271360#FFFFFF#000000##FFFFFF
##2713601.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#0D2938
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #271360;
/* rgb */ color: rgb(39, 19, 96);
/* oklch */ color: oklch(27.3% 0.126 286.6);
Tailwind
colors: {
  custom: {
    50: '#69538e',
    500: '#271360',
    950: '#000000',
  },
}
SCSS
$custom: #271360;
$custom-light: #69538e;
$custom-dark: #000000;
JSON
{
  "hex": "#271360",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 255.584,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27326,
    "c": 0.12602,
    "h": 286.6
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#271360
secondary
#7F9837
accent
#EA3EBD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #271360

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

Preview Lab → · Contrast checker → · Palette generator →

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