#271964#271964

#271964 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.124 H 283.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#271964
RGBrgb(39, 25, 100)
HSLhsl(251, 60%, 25%)
HSVhsv(251, 75%, 39%)
CMYKcmyk(61%, 75%, 0%, 60.8%)
CIE-LABlab(15.73, 29.33, -41.89)
CIE-LCHlch(15.73, 51.13, 305.00°)
OKLaboklab(28.63% 0.0297 -0.1206)
OKLCHoklch(28.63% 0.124 283.8)
XYZxyz(3.4839, 2.0465, 12.2655)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271964 #566419
analogous
#193164 #271964 #4D1964
triadic
#271964 #642719 #196427
tetradic
#271964 #641931 #566419 #19644D
square
#271964 #641931 #566419 #19644D
split-complementary
#271964 #644D19 #316419
monochromatic
#0A0618 #140D33 #271964 #3A2595 #4D31C6

Accessibility & contrast

On white

14.90
#271964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#271964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271964
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271964#FFFFFF#000000##FFFFFF
##2719641.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#062D3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #271964;
/* rgb */ color: rgb(39, 25, 100);
/* oklch */ color: oklch(28.6% 0.124 283.8);
Tailwind
colors: {
  custom: {
    50: '#695791',
    500: '#271964',
    950: '#000000',
  },
}
SCSS
$custom: #271964;
$custom-light: #695791;
$custom-dark: #000000;
JSON
{
  "hex": "#271964",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 251.2,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28628,
    "c": 0.1242,
    "h": 283.8
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#271964
secondary
#899A3F
accent
#E345C6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271964

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

Preview Lab → · Contrast checker → · Palette generator →

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