#271067#271067

#271067 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.138 H 285.1°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#271067
RGBrgb(39, 16, 103)
HSLhsl(256, 73%, 23%)
HSVhsv(256, 84%, 40%)
CMYKcmyk(62.1%, 84.5%, 0%, 59.6%)
CIE-LABlab(14.29, 35.29, -46.23)
CIE-LCHlch(14.29, 58.16, 307.35°)
OKLaboklab(27.72% 0.036 -0.1332)
OKLCHoklch(27.72% 0.138 285.1)
XYZxyz(3.4694, 1.7810, 12.9903)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271067 #506710
analogous
#102467 #271067 #521067
triadic
#271067 #672710 #106727
tetradic
#271067 #671024 #506710 #106752
square
#271067 #671024 #506710 #106752
split-complementary
#271067 #675210 #246710
monochromatic
#0A041A #130832 #271067 #3B189C #4F20D1

Accessibility & contrast

On white

15.48
#271067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271067
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271067#FFFFFF#000000##FFFFFF
##2710671.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#032A3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #271067;
/* rgb */ color: rgb(39, 16, 103);
/* oklch */ color: oklch(27.7% 0.138 285.1);
Tailwind
colors: {
  custom: {
    50: '#6b5293',
    500: '#271067',
    950: '#000000',
  },
}
SCSS
$custom: #271067;
$custom-light: #6b5293;
$custom-dark: #000000;
JSON
{
  "hex": "#271067",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 255.862,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27715,
    "c": 0.13798,
    "h": 285.1
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#271067
secondary
#839F33
accent
#F038BF
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #271067

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

Preview Lab → · Contrast checker → · Palette generator →

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