#270C53#270C53

#270C53 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.117 H 293.1°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#270C53
RGBrgb(39, 12, 83)
HSLhsl(263, 75%, 19%)
HSVhsv(263, 86%, 33%)
CMYKcmyk(53%, 85.5%, 0%, 67.5%)
CIE-LABlab(11.41, 31.14, -37.56)
CIE-LCHlch(11.41, 48.79, 309.66°)
OKLaboklab(25.04% 0.0461 -0.1078)
OKLCHoklch(25.04% 0.117 293.1)
XYZxyz(2.5291, 1.3187, 8.3032)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270C53 #38530C
analogous
#0C1453 #270C53 #4A0C53
triadic
#270C53 #53270C #0C5327
tetradic
#270C53 #530C14 #38530C #0C534A
square
#270C53 #530C14 #38530C #0C534A
split-complementary
#270C53 #534A0C #14530C
monochromatic
#0D041B #0E041E #270C53 #401488 #591BBE

Accessibility & contrast

On white

16.62
#270C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#270C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270C53
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270C53#FFFFFF#000000##FFFFFF
##270C531.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001D52
Tritanopia (blue-blind)
#19202F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #270c53;
/* rgb */ color: rgb(39, 12, 83);
/* oklch */ color: oklch(25.0% 0.117 293.1);
Tailwind
colors: {
  custom: {
    50: '#674f84',
    500: '#270c53',
    950: '#000000',
  },
}
SCSS
$custom: #270c53;
$custom-light: #674f84;
$custom-dark: #000000;
JSON
{
  "hex": "#270c53",
  "rgb": {
    "r": 39,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 262.817,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25044,
    "c": 0.11725,
    "h": 293.1
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#270C53
secondary
#698E2D
accent
#F136AA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #270C53

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

Preview Lab → · Contrast checker → · Palette generator →

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