#271065#271065

#271065 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.135 H 285.7°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#271065
RGBrgb(39, 16, 101)
HSLhsl(256, 73%, 23%)
HSVhsv(256, 84%, 40%)
CMYKcmyk(61.4%, 84.2%, 0%, 60.4%)
CIE-LABlab(14.07, 34.67, -45.28)
CIE-LCHlch(14.07, 57.03, 307.44°)
OKLaboklab(27.49% 0.0367 -0.1304)
OKLCHoklch(27.49% 0.135 285.7)
XYZxyz(3.3702, 1.7413, 12.4679)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271065 #4E6510
analogous
#102465 #271065 #511065
triadic
#271065 #652710 #106527
tetradic
#271065 #651024 #4E6510 #106551
square
#271065 #651024 #4E6510 #106551
split-complementary
#271065 #655110 #246510
monochromatic
#0A041A #130830 #271065 #3B189A #5021CF

Accessibility & contrast

On white

15.57
#271065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#271065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271065
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271065#FFFFFF#000000##FFFFFF
##2710651.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#06293B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #271065;
/* rgb */ color: rgb(39, 16, 101);
/* oklch */ color: oklch(27.5% 0.135 285.7);
Tailwind
colors: {
  custom: {
    50: '#6a5292',
    500: '#271065',
    950: '#000000',
  },
}
SCSS
$custom: #271065;
$custom-light: #6a5292;
$custom-dark: #000000;
JSON
{
  "hex": "#271065",
  "rgb": {
    "r": 39,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 256.235,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2749,
    "c": 0.13549,
    "h": 285.7
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#271065
secondary
#819D33
accent
#EF38BE
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #271065

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

Preview Lab → · Contrast checker → · Palette generator →

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