#270335#270335

#270335 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.095 H 314.3°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#270335
RGBrgb(39, 3, 53)
HSLhsl(283, 89%, 11%)
HSVhsv(283, 94%, 21%)
CMYKcmyk(26.4%, 94.3%, 0%, 79.2%)
CIE-LABlab(6.81, 27.44, -23.86)
CIE-LCHlch(6.81, 36.36, 318.99°)
OKLaboklab(20.87% 0.0662 -0.0678)
OKLCHoklch(20.87% 0.095 314.3)
XYZxyz(1.5118, 0.7536, 3.4333)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270335 #113503
analogous
#0E0335 #270335 #35032A
triadic
#270335 #352703 #033527
tetradic
#270335 #350E03 #113503 #032A35
square
#270335 #350E03 #113503 #032A35
split-complementary
#270335 #2A3503 #03350E
monochromatic
#15021D #15021D #270335 #52066F #7C0AA9

Accessibility & contrast

On white

18.25
#270335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#270335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270335
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270335#FFFFFF#000000##FFFFFF
##2703351.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#260E1C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #270335;
/* rgb */ color: rgb(39, 3, 53);
/* oklch */ color: oklch(20.9% 0.095 314.3);
Tailwind
colors: {
  custom: {
    50: '#64486d',
    500: '#270335',
    950: '#000000',
  },
}
SCSS
$custom: #270335;
$custom-light: #64486d;
$custom-dark: #000000;
JSON
{
  "hex": "#270335",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 283.2,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20866,
    "c": 0.09475,
    "h": 314.3
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#270335
secondary
#36781C
accent
#FF2965
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #270335

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

Preview Lab → · Contrast checker → · Palette generator →

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