#230D50#230D50

#230D50 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.112 H 290.4°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#230D50
RGBrgb(35, 13, 80)
HSLhsl(260, 72%, 18%)
HSVhsv(260, 84%, 31%)
CMYKcmyk(56.3%, 83.7%, 0%, 68.6%)
CIE-LABlab(10.74, 29.06, -36.62)
CIE-LCHlch(10.74, 46.75, 308.43°)
OKLaboklab(24.36% 0.0392 -0.1052)
OKLCHoklch(24.36% 0.112 290.4)
XYZxyz(2.2846, 1.2243, 7.7038)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D50 #3A500D
analogous
#0D1950 #230D50 #440D50
triadic
#230D50 #50230D #0D5023
tetradic
#230D50 #500D19 #3A500D #0D5044
square
#230D50 #500D19 #3A500D #0D5044
split-complementary
#230D50 #50440D #19500D
monochromatic
#0C041A #0C041B #230D50 #3A1685 #511EB9

Accessibility & contrast

On white

16.87
#230D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#230D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D50
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D50#FFFFFF#000000##FFFFFF
##230D501.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#001B4F
Tritanopia (blue-blind)
#13202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230d50;
/* rgb */ color: rgb(35, 13, 80);
/* oklch */ color: oklch(24.4% 0.112 290.4);
Tailwind
colors: {
  custom: {
    50: '#644e82',
    500: '#230d50',
    950: '#000000',
  },
}
SCSS
$custom: #230d50;
$custom-light: #644e82;
$custom-dark: #000000;
JSON
{
  "hex": "#230d50",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 259.701,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24358,
    "c": 0.11231,
    "h": 290.4
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#230D50
secondary
#6C8B2E
accent
#EF39B3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230D50

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

Preview Lab → · Contrast checker → · Palette generator →

#230D50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva