#270E59#270E59

#270E59 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.123 H 290.2°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#270E59
RGBrgb(39, 14, 89)
HSLhsl(260, 73%, 20%)
HSVhsv(260, 84%, 35%)
CMYKcmyk(56.2%, 84.3%, 0%, 65.1%)
CIE-LABlab(12.39, 31.97, -40.01)
CIE-LCHlch(12.39, 51.22, 308.62°)
OKLaboklab(25.93% 0.0423 -0.115)
OKLCHoklch(25.93% 0.123 290.2)
XYZxyz(2.7964, 1.4666, 9.5850)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E59 #40590E
analogous
#0E1A59 #270E59 #4C0E59
triadic
#270E59 #59270E #0E5927
tetradic
#270E59 #590E1A #40590E #0E594C
square
#270E59 #590E1A #40590E #0E594C
split-complementary
#270E59 #594C0E #1A590E
monochromatic
#0C041A #100624 #270E59 #3E168E #551FC3

Accessibility & contrast

On white

16.24
#270E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#270E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E59
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E59#FFFFFF#000000##FFFFFF
##270E591.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001F58
Tritanopia (blue-blind)
#152433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #270e59;
/* rgb */ color: rgb(39, 14, 89);
/* oklch */ color: oklch(25.9% 0.123 290.2);
Tailwind
colors: {
  custom: {
    50: '#685089',
    500: '#270e59',
    950: '#000000',
  },
}
SCSS
$custom: #270e59;
$custom-light: #685089;
$custom-dark: #000000;
JSON
{
  "hex": "#270e59",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 260,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25928,
    "c": 0.12257,
    "h": 290.2
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#270E59
secondary
#729330
accent
#F038B2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #270E59

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

Preview Lab → · Contrast checker → · Palette generator →

#270E59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva