#230F51#230F51

#230F51 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.111 H 289.5°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#230F51
RGBrgb(35, 15, 81)
HSLhsl(258, 69%, 19%)
HSVhsv(258, 81%, 32%)
CMYKcmyk(56.8%, 81.5%, 0%, 68.2%)
CIE-LABlab(11.23, 28.28, -36.51)
CIE-LCHlch(11.23, 46.18, 307.77°)
OKLaboklab(24.74% 0.0371 -0.1049)
OKLCHoklch(24.74% 0.111 289.5)
XYZxyz(2.3487, 1.2929, 7.9088)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F51 #3D510F
analogous
#0F1C51 #230F51 #440F51
triadic
#230F51 #51230F #0F5123
tetradic
#230F51 #510F1C #3D510F #0F5144
square
#230F51 #510F1C #3D510F #0F5144
split-complementary
#230F51 #51440F #1C510F
monochromatic
#0B051A #0D051D #230F51 #391985 #5022B8

Accessibility & contrast

On white

16.69
#230F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230F51
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F51#FFFFFF#000000##FFFFFF
##230F511.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#12212F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230f51;
/* rgb */ color: rgb(35, 15, 81);
/* oklch */ color: oklch(24.7% 0.111 289.5);
Tailwind
colors: {
  custom: {
    50: '#645083',
    500: '#230f51',
    950: '#000000',
  },
}
SCSS
$custom: #230f51;
$custom-light: #645083;
$custom-dark: #000000;
JSON
{
  "hex": "#230f51",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 258.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24735,
    "c": 0.11128,
    "h": 289.5
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#230F51
secondary
#708B31
accent
#EC3CB6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230F51

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

Preview Lab → · Contrast checker → · Palette generator →

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