#231081#231081

#231081 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.170 H 276.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#231081
RGBrgb(35, 16, 129)
HSLhsl(250, 78%, 28%)
HSVhsv(250, 88%, 51%)
CMYKcmyk(72.9%, 87.6%, 0%, 49.4%)
CIE-LABlab(17.05, 42.87, -58.49)
CIE-LCHlch(17.05, 72.52, 306.24°)
OKLaboklab(30.44% 0.0202 -0.169)
OKLCHoklch(30.44% 0.17 276.8)
XYZxyz(4.8396, 2.3124, 20.9559)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231081 #6E8110
analogous
#103681 #231081 #5B1081
triadic
#231081 #812310 #108123
tetradic
#231081 #811036 #6E8110 #10815B
square
#231081 #811036 #6E8110 #10815B
split-complementary
#231081 #815B10 #368110
monochromatic
#07031B #14094B #231081 #3217B7 #4727E4

Accessibility & contrast

On white

14.36
#231081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231081
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231081#FFFFFF#000000##FFFFFF
##2310811.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231081;
/* rgb */ color: rgb(35, 16, 129);
/* oklch */ color: oklch(30.4% 0.170 276.8);
Tailwind
colors: {
  custom: {
    50: '#6f54a7',
    500: '#231081',
    950: '#000000',
  },
}
SCSS
$custom: #231081;
$custom-light: #6f54a7;
$custom-dark: #000000;
JSON
{
  "hex": "#231081",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 250.088,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.17019,
    "h": 276.8
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#231081
secondary
#A1B736
accent
#F433D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231081

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

Preview Lab → · Contrast checker → · Palette generator →

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