#271369#271369

#271369 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.138 H 284.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#271369
RGBrgb(39, 19, 105)
HSLhsl(254, 69%, 24%)
HSVhsv(254, 82%, 41%)
CMYKcmyk(62.9%, 81.9%, 0%, 58.8%)
CIE-LABlab(15.04, 34.39, -46.31)
CIE-LCHlch(15.04, 57.68, 306.60°)
OKLaboklab(28.31% 0.0332 -0.1335)
OKLCHoklch(28.31% 0.138 284)
XYZxyz(3.6186, 1.9168, 13.5412)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271369 #556913
analogous
#132A69 #271369 #521369
triadic
#271369 #692713 #136927
tetradic
#271369 #69132A #556913 #136952
square
#271369 #69132A #556913 #136952
split-complementary
#271369 #695213 #2A6913
monochromatic
#0A051A #140A35 #271369 #3A1C9D #4D26D1

Accessibility & contrast

On white

15.18
#271369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#271369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271369
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271369#FFFFFF#000000##FFFFFF
##2713691.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #271369;
/* rgb */ color: rgb(39, 19, 105);
/* oklch */ color: oklch(28.3% 0.138 284.0);
Tailwind
colors: {
  custom: {
    50: '#6b5495',
    500: '#271369',
    950: '#000000',
  },
}
SCSS
$custom: #271369;
$custom-light: #6b5495;
$custom-dark: #000000;
JSON
{
  "hex": "#271369",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 253.953,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28305,
    "c": 0.13754,
    "h": 284
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#271369
secondary
#88A038
accent
#EC3CC3
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271369

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

Preview Lab → · Contrast checker → · Palette generator →

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