#231250#231250

#231250 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.106 H 288.9°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#231250
RGBrgb(35, 18, 80)
HSLhsl(256, 63%, 19%)
HSVhsv(256, 78%, 31%)
CMYKcmyk(56.3%, 77.5%, 0%, 68.6%)
CIE-LABlab(11.75, 26.20, -34.96)
CIE-LCHlch(11.75, 43.69, 306.84°)
OKLaboklab(25.07% 0.0344 -0.1004)
OKLCHoklch(25.07% 0.106 288.9)
XYZxyz(2.3570, 1.3690, 7.7279)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231250 #3F5012
analogous
#122050 #231250 #421250
triadic
#231250 #502312 #125023
tetradic
#231250 #501220 #3F5012 #125042
square
#231250 #501220 #3F5012 #125042
split-complementary
#231250 #504212 #205012
monochromatic
#0B0619 #0D071E #231250 #391D82 #4F28B4

Accessibility & contrast

On white

16.49
#231250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#231250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231250
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231250#FFFFFF#000000##FFFFFF
##2312501.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#13222F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #231250;
/* rgb */ color: rgb(35, 18, 80);
/* oklch */ color: oklch(25.1% 0.106 288.9);
Tailwind
colors: {
  custom: {
    50: '#645182',
    500: '#231250',
    950: '#000000',
  },
}
SCSS
$custom: #231250;
$custom-light: #645182;
$custom-dark: #000000;
JSON
{
  "hex": "#231250",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 256.452,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25074,
    "c": 0.10614,
    "h": 288.9
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#231250
secondary
#728935
accent
#E641B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #231250

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

Preview Lab → · Contrast checker → · Palette generator →

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