#271250#271250

#271250 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.106 H 292.8°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#271250
RGBrgb(39, 18, 80)
HSLhsl(260, 63%, 19%)
HSVhsv(260, 78%, 31%)
CMYKcmyk(51.2%, 77.5%, 0%, 68.6%)
CIE-LABlab(12.24, 26.98, -34.14)
CIE-LCHlch(12.24, 43.51, 308.32°)
OKLaboklab(25.54% 0.0412 -0.0978)
OKLCHoklch(25.54% 0.106 292.8)
XYZxyz(2.5006, 1.4431, 7.7346)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271250 #3B5012
analogous
#121C50 #271250 #461250
triadic
#271250 #502712 #125027
tetradic
#271250 #50121C #3B5012 #125046
square
#271250 #50121C #3B5012 #125046
split-complementary
#271250 #504612 #1C5012
monochromatic
#0C0619 #0F071E #271250 #3F1D82 #5828B4

Accessibility & contrast

On white

16.30
#271250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#271250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271250
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271250#FFFFFF#000000##FFFFFF
##2712501.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#1B222F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271250;
/* rgb */ color: rgb(39, 18, 80);
/* oklch */ color: oklch(25.5% 0.106 292.8);
Tailwind
colors: {
  custom: {
    50: '#665282',
    500: '#271250',
    950: '#000000',
  },
}
SCSS
$custom: #271250;
$custom-light: #665282;
$custom-dark: #000000;
JSON
{
  "hex": "#271250",
  "rgb": {
    "r": 39,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 260.323,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25539,
    "c": 0.10613,
    "h": 292.8
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#271250
secondary
#6C8935
accent
#E641AE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #271250

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

Preview Lab → · Contrast checker → · Palette generator →

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