#270E53#270E53

#270E53 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.115 H 292.7°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#270E53
RGBrgb(39, 14, 83)
HSLhsl(262, 71%, 19%)
HSVhsv(262, 83%, 33%)
CMYKcmyk(53%, 83.1%, 0%, 67.5%)
CIE-LABlab(11.76, 30.14, -36.99)
CIE-LCHlch(11.76, 47.71, 309.17°)
OKLaboklab(25.29% 0.0443 -0.1062)
OKLCHoklch(25.29% 0.115 292.7)
XYZxyz(2.5546, 1.3699, 8.3117)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E53 #3A530E
analogous
#0E1853 #270E53 #4A0E53
triadic
#270E53 #53270E #0E5327
tetradic
#270E53 #530E18 #3A530E #0E534A
square
#270E53 #530E18 #3A530E #0E534A
split-complementary
#270E53 #534A0E #18530E
monochromatic
#0C041A #0E051F #270E53 #401787 #5820BC

Accessibility & contrast

On white

16.48
#270E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#270E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E53
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E53#FFFFFF#000000##FFFFFF
##270E531.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#192130
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #270e53;
/* rgb */ color: rgb(39, 14, 83);
/* oklch */ color: oklch(25.3% 0.115 292.7);
Tailwind
colors: {
  custom: {
    50: '#675084',
    500: '#270e53',
    950: '#000000',
  },
}
SCSS
$custom: #270e53;
$custom-light: #675084;
$custom-dark: #000000;
JSON
{
  "hex": "#270e53",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 261.739,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25288,
    "c": 0.11504,
    "h": 292.7
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#270E53
secondary
#6B8D2F
accent
#EE3AAD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #270E53

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

Preview Lab → · Contrast checker → · Palette generator →

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