#271069#271069

#271069 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.140 H 284.5°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#271069
RGBrgb(39, 16, 105)
HSLhsl(256, 74%, 24%)
HSVhsv(256, 85%, 41%)
CMYKcmyk(62.9%, 84.8%, 0%, 58.8%)
CIE-LABlab(14.52, 35.90, -47.17)
CIE-LCHlch(14.52, 59.28, 307.28°)
OKLaboklab(27.94% 0.0352 -0.1359)
OKLCHoklch(27.94% 0.14 284.5)
XYZxyz(3.5710, 1.8216, 13.5253)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271069 #526910
analogous
#102569 #271069 #531069
triadic
#271069 #692710 #106927
tetradic
#271069 #691025 #526910 #106953
square
#271069 #691025 #526910 #106953
split-complementary
#271069 #695310 #256910
monochromatic
#0A041B #130834 #271069 #3B189E #4E20D3

Accessibility & contrast

On white

15.39
#271069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271069
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271069#FFFFFF#000000##FFFFFF
##2710691.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276B
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #271069;
/* rgb */ color: rgb(39, 16, 105);
/* oklch */ color: oklch(27.9% 0.140 284.5);
Tailwind
colors: {
  custom: {
    50: '#6b5295',
    500: '#271069',
    950: '#000000',
  },
}
SCSS
$custom: #271069;
$custom-light: #6b5295;
$custom-dark: #000000;
JSON
{
  "hex": "#271069",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 255.506,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27942,
    "c": 0.14045,
    "h": 284.5
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#271069
secondary
#85A134
accent
#F038C1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #271069

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

Preview Lab → · Contrast checker → · Palette generator →

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