#230F68#230F68

#230F68 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.141 H 282.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#230F68
RGBrgb(35, 15, 104)
HSLhsl(253, 75%, 23%)
HSVhsv(253, 86%, 41%)
CMYKcmyk(66.3%, 85.6%, 0%, 59.2%)
CIE-LABlab(13.82, 35.61, -47.69)
CIE-LCHlch(13.82, 59.52, 306.75°)
OKLaboklab(27.32% 0.0295 -0.1376)
OKLCHoklch(27.32% 0.141 282.1)
XYZxyz(3.3619, 1.6982, 13.2446)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F68 #54680F
analogous
#0F2768 #230F68 #4F0F68
triadic
#230F68 #68230F #0F6823
tetradic
#230F68 #680F27 #54680F #0F684F
square
#230F68 #680F27 #54680F #0F684F
split-complementary
#230F68 #684F0F #27680F
monochromatic
#09041B #110733 #230F68 #35179D #471ED3

Accessibility & contrast

On white

15.68
#230F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#230F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F68
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F68#FFFFFF#000000##FFFFFF
##230F681.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002A3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #230f68;
/* rgb */ color: rgb(35, 15, 104);
/* oklch */ color: oklch(27.3% 0.141 282.1);
Tailwind
colors: {
  custom: {
    50: '#695194',
    500: '#230f68',
    950: '#000000',
  },
}
SCSS
$custom: #230f68;
$custom-light: #695194;
$custom-dark: #000000;
JSON
{
  "hex": "#230f68",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 253.483,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27317,
    "c": 0.14069,
    "h": 282.1
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#230F68
secondary
#88A132
accent
#F136C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #230F68

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

Preview Lab → · Contrast checker → · Palette generator →

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