#230F50#230F50

#230F50 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.110 H 289.9°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#230F50
RGBrgb(35, 15, 80)
HSLhsl(258, 68%, 19%)
HSVhsv(258, 81%, 31%)
CMYKcmyk(56.3%, 81.3%, 0%, 68.6%)
CIE-LABlab(11.12, 27.96, -35.99)
CIE-LCHlch(11.12, 45.58, 307.84°)
OKLaboklab(24.63% 0.0374 -0.1034)
OKLCHoklch(24.63% 0.11 289.9)
XYZxyz(2.3115, 1.2781, 7.7128)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F50 #3C500F
analogous
#0F1B50 #230F50 #430F50
triadic
#230F50 #50230F #0F5023
tetradic
#230F50 #500F1B #3C500F #0F5043
square
#230F50 #500F1B #3C500F #0F5043
split-complementary
#230F50 #50430F #1B500F
monochromatic
#0B051A #0C051C #230F50 #3A1984 #5022B7

Accessibility & contrast

On white

16.73
#230F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#230F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F50
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F50#FFFFFF#000000##FFFFFF
##230F501.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001C4F
Tritanopia (blue-blind)
#13212E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230f50;
/* rgb */ color: rgb(35, 15, 80);
/* oklch */ color: oklch(24.6% 0.110 289.9);
Tailwind
colors: {
  custom: {
    50: '#644f82',
    500: '#230f50',
    950: '#000000',
  },
}
SCSS
$custom: #230f50;
$custom-light: #644f82;
$custom-dark: #000000;
JSON
{
  "hex": "#230f50",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 258.462,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24629,
    "c": 0.10996,
    "h": 289.9
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#230F50
secondary
#6F8A31
accent
#EB3DB6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230F50

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

Preview Lab → · Contrast checker → · Palette generator →

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