#271364#271364

#271364 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.131 H 285.4°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#271364
RGBrgb(39, 19, 100)
HSLhsl(255, 68%, 23%)
HSVhsv(255, 81%, 39%)
CMYKcmyk(61%, 81%, 0%, 60.8%)
CIE-LABlab(14.50, 32.80, -43.91)
CIE-LCHlch(14.50, 54.81, 306.76°)
OKLaboklab(27.76% 0.0348 -0.1265)
OKLCHoklch(27.76% 0.131 285.4)
XYZxyz(3.3691, 1.8170, 12.2273)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271364 #506413
analogous
#132764 #271364 #4F1364
triadic
#271364 #642713 #136427
tetradic
#271364 #641327 #506413 #13644F
square
#271364 #641327 #506413 #13644F
split-complementary
#271364 #644F13 #276413
monochromatic
#0A051A #130931 #271364 #3B1D97 #4F27CB

Accessibility & contrast

On white

15.40
#271364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#271364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271364
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271364#FFFFFF#000000##FFFFFF
##2713641.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#072A3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #271364;
/* rgb */ color: rgb(39, 19, 100);
/* oklch */ color: oklch(27.8% 0.131 285.4);
Tailwind
colors: {
  custom: {
    50: '#6a5391',
    500: '#271364',
    950: '#000000',
  },
}
SCSS
$custom: #271364;
$custom-light: #6a5391;
$custom-dark: #000000;
JSON
{
  "hex": "#271364",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 254.815,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27757,
    "c": 0.13118,
    "h": 285.4
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#271364
secondary
#839C37
accent
#EB3DC0
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271364

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

Preview Lab → · Contrast checker → · Palette generator →

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