#271468#271468

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

Color values

HEX#271468
RGBrgb(39, 20, 104)
HSLhsl(254, 68%, 24%)
HSVhsv(254, 81%, 41%)
CMYKcmyk(62.5%, 80.8%, 0%, 59.2%)
CIE-LABlab(15.12, 33.54, -45.52)
CIE-LCHlch(15.12, 56.54, 306.38°)
OKLaboklab(28.33% 0.0328 -0.1312)
OKLCHoklch(28.33% 0.135 284)
XYZxyz(3.5848, 1.9309, 13.2778)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271468 #556814
analogous
#142B68 #271468 #511468
triadic
#271468 #682714 #146827
tetradic
#271468 #68142B #556814 #146851
square
#271468 #68142B #556814 #146851
split-complementary
#271468 #685114 #2B6814
monochromatic
#0A051A #140A35 #271468 #3A1E9B #4D28CF

Accessibility & contrast

On white

15.15
#271468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#271468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271468
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271468#FFFFFF#000000##FFFFFF
##2714681.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#012C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #271468;
/* rgb */ color: rgb(39, 20, 104);
/* oklch */ color: oklch(28.3% 0.135 284.0);
Tailwind
colors: {
  custom: {
    50: '#6a5494',
    500: '#271468',
    950: '#000000',
  },
}
SCSS
$custom: #271468;
$custom-light: #6a5494;
$custom-dark: #000000;
JSON
{
  "hex": "#271468",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 253.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28325,
    "c": 0.13523,
    "h": 284
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#271468
secondary
#889F39
accent
#EB3DC3
background
#F6F5F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #271468

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

Preview Lab → · Contrast checker → · Palette generator →

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